X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsnapshot.h;h=7395c04d1c7e30731cfbd855a0ca59a08118ee10;hb=48a4000561343808724f7cb5fa8c131877489ccd;hp=df02adaf917156c4a242f783909e1e172ee0dd73;hpb=46c97aee24af52a0ec2e1857a57a79815a534668;p=lttng-tools.git diff --git a/src/common/snapshot.h b/src/common/snapshot.h index df02adaf9..7395c04d1 100644 --- a/src/common/snapshot.h +++ b/src/common/snapshot.h @@ -16,23 +16,24 @@ struct lttng_payload_view; struct lttng_payload; struct lttng_snapshot_output; +struct mi_writer; -LTTNG_HIDDEN bool lttng_snapshot_output_validate(const struct lttng_snapshot_output *output); -LTTNG_HIDDEN bool lttng_snapshot_output_is_equal( const struct lttng_snapshot_output *a, const struct lttng_snapshot_output *b); -LTTNG_HIDDEN int lttng_snapshot_output_serialize( const struct lttng_snapshot_output *output, struct lttng_payload *payload); -LTTNG_HIDDEN ssize_t lttng_snapshot_output_create_from_payload( struct lttng_payload_view *view, struct lttng_snapshot_output **output_p); +enum lttng_error_code lttng_snapshot_output_mi_serialize( + const struct lttng_snapshot_output *output, + struct mi_writer *writer); + #endif /* COMMON_SNAPSHOT_H */