X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsnapshot.h;h=df02adaf917156c4a242f783909e1e172ee0dd73;hp=95a63e13b42e0d1995ef9b70e6ac99107a41b77b;hb=a321667af6f25a77e32787fe89ad306786f7b29a;hpb=b30fa1919a1e0274b8d4734acb8cb54753808609 diff --git a/src/common/snapshot.h b/src/common/snapshot.h index 95a63e13b..df02adaf9 100644 --- a/src/common/snapshot.h +++ b/src/common/snapshot.h @@ -11,9 +11,10 @@ #include #include +#include -struct lttng_buffer_view; -struct lttng_dynamic_buffer; +struct lttng_payload_view; +struct lttng_payload; struct lttng_snapshot_output; LTTNG_HIDDEN @@ -27,11 +28,11 @@ bool lttng_snapshot_output_is_equal( LTTNG_HIDDEN int lttng_snapshot_output_serialize( const struct lttng_snapshot_output *output, - struct lttng_dynamic_buffer *buf); + struct lttng_payload *payload); LTTNG_HIDDEN -ssize_t lttng_snapshot_output_create_from_buffer( - const struct lttng_buffer_view *view, +ssize_t lttng_snapshot_output_create_from_payload( + struct lttng_payload_view *view, struct lttng_snapshot_output **output_p); #endif /* COMMON_SNAPSHOT_H */