X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fchannel-internal.hpp;h=ec17e8a19bc7dafeb69038a324697c76b8fa90ae;hp=d4960828ec2da0844ada398f150ef916d96a3ae0;hb=HEAD;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f diff --git a/include/lttng/channel-internal.hpp b/include/lttng/channel-internal.hpp index d4960828e..bcf3225ed 100644 --- a/include/lttng/channel-internal.hpp +++ b/include/lttng/channel-internal.hpp @@ -8,6 +8,7 @@ #ifndef LTTNG_CHANNEL_INTERNAL_H #define LTTNG_CHANNEL_INTERNAL_H +#include #include struct lttng_channel_extended { @@ -40,22 +41,19 @@ struct lttng_channel_comm { int64_t blocking_timeout; } LTTNG_PACKED; -struct lttng_channel *lttng_channel_create_internal(void); +struct lttng_channel *lttng_channel_create_internal(); struct lttng_channel *lttng_channel_copy(const struct lttng_channel *src); ssize_t lttng_channel_create_from_buffer(const struct lttng_buffer_view *view, - struct lttng_channel **event); + struct lttng_channel **event); -int lttng_channel_serialize(struct lttng_channel *channel, - struct lttng_dynamic_buffer *buf); +int lttng_channel_serialize(struct lttng_channel *channel, struct lttng_dynamic_buffer *buf); void lttng_channel_set_default_extended_attr(struct lttng_domain *domain, - struct lttng_channel_extended *extended_attr); + struct lttng_channel_extended *extended_attr); enum lttng_error_code lttng_channels_create_and_flatten_from_buffer( - const struct lttng_buffer_view *view, - unsigned int count, - struct lttng_channel **channels); + const struct lttng_buffer_view *view, unsigned int count, struct lttng_channel **channels); #endif /* LTTNG_CHANNEL_INTERNAL_H */