X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flog-level-rule-internal.hpp;fp=include%2Flttng%2Flog-level-rule-internal.hpp;h=6b08e8a5ff517cbe47ec7d032dff43a47d465c4b;hp=71447cfe35ff6f5b49fadbd974d4e34251e02cdb;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b diff --git a/include/lttng/log-level-rule-internal.hpp b/include/lttng/log-level-rule-internal.hpp index 71447cfe3..6b08e8a5f 100644 --- a/include/lttng/log-level-rule-internal.hpp +++ b/include/lttng/log-level-rule-internal.hpp @@ -8,17 +8,18 @@ #ifndef LTTNG_LOG_LEVEL_RULE_INTERNAL_H #define LTTNG_LOG_LEVEL_RULE_INTERNAL_H -#include - #include #include #include #include #include + #include #include #include +#include + struct mi_writer; /* @@ -36,29 +37,24 @@ struct lttng_log_level_rule_comm { int32_t level; }; -ssize_t lttng_log_level_rule_create_from_payload( - struct lttng_payload_view *view, - struct lttng_log_level_rule **rule); +ssize_t lttng_log_level_rule_create_from_payload(struct lttng_payload_view *view, + struct lttng_log_level_rule **rule); int lttng_log_level_rule_serialize(const struct lttng_log_level_rule *rule, - struct lttng_payload *payload); + struct lttng_payload *payload); bool lttng_log_level_rule_is_equal(const struct lttng_log_level_rule *a, - const struct lttng_log_level_rule *b); + const struct lttng_log_level_rule *b); -struct lttng_log_level_rule *lttng_log_level_rule_copy( - const struct lttng_log_level_rule *source); +struct lttng_log_level_rule *lttng_log_level_rule_copy(const struct lttng_log_level_rule *source); -void lttng_log_level_rule_to_loglevel( - const struct lttng_log_level_rule *log_level_rule, - enum lttng_loglevel_type *loglevel_type, - int *loglevel_value); +void lttng_log_level_rule_to_loglevel(const struct lttng_log_level_rule *log_level_rule, + enum lttng_loglevel_type *loglevel_type, + int *loglevel_value); -unsigned long lttng_log_level_rule_hash( - const struct lttng_log_level_rule *log_level_rule); +unsigned long lttng_log_level_rule_hash(const struct lttng_log_level_rule *log_level_rule); -enum lttng_error_code lttng_log_level_rule_mi_serialize( - const struct lttng_log_level_rule *rule, - struct mi_writer *writer); +enum lttng_error_code lttng_log_level_rule_mi_serialize(const struct lttng_log_level_rule *rule, + struct mi_writer *writer); #endif /* LTTNG_LOG_LEVEL_RULE_INTERNAL_H */