Cleanup: enforce const-correctness in notification thread
[lttng-tools.git] / src / common / action.c
index 0ce93c8529c05cda73714306ed63f22f439ff593..617bc2806a55afc7dd2e1e93adedddfd7f7046ca 100644 (file)
@@ -25,6 +25,13 @@ enum lttng_action_type lttng_action_get_type(struct lttng_action *action)
        return action ? action->type : LTTNG_ACTION_TYPE_UNKNOWN;
 }
 
+LTTNG_HIDDEN
+enum lttng_action_type lttng_action_get_type_const(
+               const struct lttng_action *action)
+{
+       return action->type;
+}
+
 void lttng_action_destroy(struct lttng_action *action)
 {
        if (!action) {
This page took 0.035407 seconds and 5 git commands to generate.