Clean-up: sessiond: return an lttng_error_code from list_triggers
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.h
index dcda2365dd0a134d3075c4f1a81af3bf25cdefec..03f7cc1a40d88902e49677a2a07d414b8f35a8b0 100644 (file)
@@ -144,6 +144,7 @@ int cmd_regenerate_statedump(struct ltt_session *session);
 enum lttng_error_code cmd_register_trigger(
                const struct lttng_credentials *cmd_creds,
                struct lttng_trigger *trigger,
+               bool is_anonymous_trigger,
                struct notification_thread_handle *notification_thread_handle,
                struct lttng_trigger **return_trigger);
 enum lttng_error_code cmd_unregister_trigger(
@@ -151,9 +152,13 @@ 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,
+               const struct lttng_error_query *query,
+               struct lttng_error_query_results **_results,
+               struct notification_thread_handle *notification_thread);
 
 int cmd_rotate_session(struct ltt_session *session,
                struct lttng_rotate_session_return *rotate_return,
This page took 0.027584 seconds and 4 git commands to generate.