summaryrefslogtreecommitdiff
path: root/libweston/weston-log-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libweston/weston-log-internal.h')
-rw-r--r--libweston/weston-log-internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libweston/weston-log-internal.h b/libweston/weston-log-internal.h
index 95e6e653..fbf88e56 100644
--- a/libweston/weston-log-internal.h
+++ b/libweston/weston-log-internal.h
@@ -52,6 +52,8 @@ struct weston_log_subscription;
struct weston_log_subscriber {
/** write the data pointed by @param data */
void (*write)(struct weston_log_subscriber *sub, const char *data, size_t len);
+ /** For destroying the subscriber */
+ void (*destroy)(struct weston_log_subscriber *sub);
/** For the type of streams that required additional destroy operation
* for destroying the stream */
void (*destroy_subscription)(struct weston_log_subscriber *sub);
@@ -79,7 +81,6 @@ weston_log_subscription_add(struct weston_log_scope *scope,
void
weston_log_subscription_remove(struct weston_log_subscription *sub);
-
void
weston_log_bind_weston_debug(struct wl_client *client,
void *data, uint32_t version, uint32_t id);