Use the dynamic buffer to serialize notification objects
[lttng-tools.git] / include / lttng / notification / notification-internal.h
index 9bdf2a934d86a4d53b0d1b06dcb6096d4dec19b3..648977f3378ff804ba542ddccd83cb07a74134c2 100644 (file)
@@ -21,6 +21,7 @@
 #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>
@@ -58,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.024662 seconds and 5 git commands to generate.