clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / include / lttng / trigger / trigger-internal.hpp
index 206e7dfa8cfdb518413e251514e16b45869721d0..30675523e7876a0534d702dfe114161bd9a7c0f6 100644 (file)
@@ -60,8 +60,7 @@ struct lttng_trigger {
         * clients.
         *
         * This is a property that can only be set internally by the session
-        * daemon. As such, it is not serialized nor set by a
-        * "create_from_buffer" constructor.
+        * daemon.
         *
         * The hidden property is preserved by copies.
         *
@@ -94,6 +93,8 @@ struct lttng_trigger_comm {
        uint32_t length;
        /* Includes '\0' terminator. */
        uint32_t name_length;
+       /* Hidden property. */
+       uint8_t is_hidden;
        /* A null-terminated name, a condition, and an action follow. */
        char payload[];
 } LTTNG_PACKED;
@@ -148,7 +149,7 @@ enum lttng_error_code lttng_trigger_mi_serialize(const struct lttng_trigger *tri
  * Allocate a new set of triggers.
  * The returned object must be freed via lttng_triggers_destroy.
  */
-struct lttng_triggers *lttng_triggers_create(void);
+struct lttng_triggers *lttng_triggers_create();
 
 /*
  * Return the a pointer to a mutable element at index "index" of an
This page took 0.023435 seconds and 4 git commands to generate.