X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flog-level-rule-internal.h;h=b02afafe0d8d563c86bfeca1c192df1c42a5d029;hp=f3b2a1c2a16b8ff3851fa15f2de8b321efef5544;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hpb=6a751b953a43c566b74818ec6325db0978e16c66 diff --git a/include/lttng/log-level-rule-internal.h b/include/lttng/log-level-rule-internal.h index f3b2a1c2a..b02afafe0 100644 --- a/include/lttng/log-level-rule-internal.h +++ b/include/lttng/log-level-rule-internal.h @@ -18,6 +18,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct mi_writer; /* @@ -35,36 +39,33 @@ struct lttng_log_level_rule_comm { int32_t level; }; -LTTNG_HIDDEN ssize_t lttng_log_level_rule_create_from_payload( struct lttng_payload_view *view, struct lttng_log_level_rule **rule); -LTTNG_HIDDEN int lttng_log_level_rule_serialize(const struct lttng_log_level_rule *rule, struct lttng_payload *payload); -LTTNG_HIDDEN bool lttng_log_level_rule_is_equal(const struct lttng_log_level_rule *a, const struct lttng_log_level_rule *b); -LTTNG_HIDDEN struct lttng_log_level_rule *lttng_log_level_rule_copy( const struct lttng_log_level_rule *source); -LTTNG_HIDDEN 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); -LTTNG_HIDDEN unsigned long lttng_log_level_rule_hash( const struct lttng_log_level_rule *log_level_rule); -LTTNG_HIDDEN enum lttng_error_code lttng_log_level_rule_mi_serialize( const struct lttng_log_level_rule *rule, struct mi_writer *writer); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_LOG_LEVEL_RULE_INTERNAL_H */