X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsnapshot.h;fp=src%2Fcommon%2Fsnapshot.h;h=3edcf16ae7cc33b5faaae56b732aae387ae054cb;hp=df02adaf917156c4a242f783909e1e172ee0dd73;hb=6a751b953a43c566b74818ec6325db0978e16c66;hpb=1aa9c49c60b7d7370ceafc3ac076de423de22b7f diff --git a/src/common/snapshot.h b/src/common/snapshot.h index df02adaf9..3edcf16ae 100644 --- a/src/common/snapshot.h +++ b/src/common/snapshot.h @@ -16,6 +16,7 @@ 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); @@ -35,4 +36,9 @@ ssize_t lttng_snapshot_output_create_from_payload( struct lttng_payload_view *view, struct lttng_snapshot_output **output_p); +LTTNG_HIDDEN +enum lttng_error_code lttng_snapshot_output_mi_serialize( + const struct lttng_snapshot_output *output, + struct mi_writer *writer); + #endif /* COMMON_SNAPSHOT_H */