X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fsnapshot.hpp;h=1465fbd4d1a6fd5d9a9da6a52db5f7e34d08ddfa;hb=HEAD;hp=d7442152f16af428d433330c646d52d1db9d72b5;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/src/common/snapshot.hpp b/src/common/snapshot.hpp index d7442152f..1465fbd4d 100644 --- a/src/common/snapshot.hpp +++ b/src/common/snapshot.hpp @@ -8,6 +8,7 @@ #ifndef COMMON_SNAPSHOT_H #define COMMON_SNAPSHOT_H +#include #include #include @@ -20,20 +21,16 @@ struct mi_writer; bool lttng_snapshot_output_validate(const struct lttng_snapshot_output *output); -bool lttng_snapshot_output_is_equal( - const struct lttng_snapshot_output *a, - const struct lttng_snapshot_output *b); +bool lttng_snapshot_output_is_equal(const struct lttng_snapshot_output *a, + const struct lttng_snapshot_output *b); -int lttng_snapshot_output_serialize( - const struct lttng_snapshot_output *output, - struct lttng_payload *payload); +int lttng_snapshot_output_serialize(const struct lttng_snapshot_output *output, + struct lttng_payload *payload); -ssize_t lttng_snapshot_output_create_from_payload( - struct lttng_payload_view *view, - struct lttng_snapshot_output **output_p); +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); +enum lttng_error_code lttng_snapshot_output_mi_serialize(const struct lttng_snapshot_output *output, + struct mi_writer *writer); #endif /* COMMON_SNAPSHOT_H */