Clean-up: sessiond: return an lttng_error_code from list_triggers
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.h
index 33cac66ffb09d17ace1b75e3e9dbdfadc4e4db0b..03f7cc1a40d88902e49677a2a07d414b8f35a8b0 100644 (file)
@@ -152,7 +152,7 @@ enum lttng_error_code cmd_unregister_trigger(
                const struct lttng_trigger *trigger,
                struct notification_thread_handle *notification_thread_handle);
 
-int cmd_list_triggers(struct command_ctx *cmd_ctx,
+enum lttng_error_code cmd_list_triggers(struct command_ctx *cmd_ctx,
                struct notification_thread_handle *notification_thread_handle,
                struct lttng_triggers **return_triggers);
 enum lttng_error_code cmd_execute_error_query(const struct lttng_credentials *cmd_creds,
This page took 0.024026 seconds and 5 git commands to generate.