X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsnapshot.h;h=58e855767ad0e33c17a9dba9831a026e4a527a6d;hp=95a63e13b42e0d1995ef9b70e6ac99107a41b77b;hb=757c48a28258e64fe251b6803ccdba7898590d70;hpb=4a76dfd303409d7a6293aa8bafa8103748c1cf37 diff --git a/src/common/snapshot.h b/src/common/snapshot.h index 95a63e13b..58e855767 100644 --- a/src/common/snapshot.h +++ b/src/common/snapshot.h @@ -12,8 +12,8 @@ #include -struct lttng_buffer_view; -struct lttng_dynamic_buffer; +struct lttng_payload_view; +struct lttng_payload; struct lttng_snapshot_output; LTTNG_HIDDEN @@ -27,11 +27,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 */