Use the dynamic buffer to serialize notification objects
[lttng-tools.git] / include / lttng / notification / notification-internal.h
index df9e8cb50a5549ed6525a89d2cabe74c9a747c4c..648977f3378ff804ba542ddccd83cb07a74134c2 100644 (file)
 #include <lttng/notification/notification.h>
 #include <common/macros.h>
 #include <common/buffer-view.h>
+#include <common/dynamic-buffer.h>
 #include <stdint.h>
 #include <stdbool.h>
+#include <sys/types.h>
 
 struct lttng_notification {
        struct lttng_condition *condition;
@@ -57,8 +59,8 @@ struct lttng_notification *lttng_notification_create(
                struct lttng_evaluation *evaluation);
 
 LTTNG_HIDDEN
-ssize_t lttng_notification_serialize(struct lttng_notification *notification,
-               char *buf);
+int lttng_notification_serialize(struct lttng_notification *notification,
+               struct lttng_dynamic_buffer *buf);
 
 LTTNG_HIDDEN
 ssize_t lttng_notification_create_from_buffer(
This page took 0.025232 seconds and 5 git commands to generate.