summaryrefslogtreecommitdiff
path: root/include/libweston/weston-log.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libweston/weston-log.h')
-rw-r--r--include/libweston/weston-log.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libweston/weston-log.h b/include/libweston/weston-log.h
index c07ac75d..d59f2db1 100644
--- a/include/libweston/weston-log.h
+++ b/include/libweston/weston-log.h
@@ -29,6 +29,8 @@
#include <stdbool.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <stdint.h>
+#include <stdio.h>
#ifdef __cplusplus
extern "C" {
@@ -104,6 +106,12 @@ weston_log_subscribe(struct weston_log_context *log_ctx,
struct weston_log_subscriber *subscriber,
const char *scope_name);
+struct weston_log_subscriber *
+weston_log_subscriber_create_log(FILE *dump_to);
+
+void
+weston_log_subscriber_destroy_log(struct weston_log_subscriber *sub);
+
#ifdef __cplusplus
}
#endif