MI: implement all objects related to trigger machine interface
[lttng-tools.git] / include / lttng / error-query-internal.h
index b5578d44d57b466a7032baa0042e028318cf4b54..506ebcf974d8736a88eaed29cf6198f2d2d9d602 100644 (file)
 #include <common/payload.h>
 #include <common/payload-view.h>
 
+struct mi_writer;
+
 enum lttng_error_query_target_type {
        LTTNG_ERROR_QUERY_TARGET_TYPE_TRIGGER,
+       LTTNG_ERROR_QUERY_TARGET_TYPE_CONDITION,
        LTTNG_ERROR_QUERY_TARGET_TYPE_ACTION,
 };
 
@@ -28,6 +31,10 @@ LTTNG_HIDDEN
 const struct lttng_trigger *lttng_error_query_trigger_borrow_target(
                const struct lttng_error_query *query);
 
+LTTNG_HIDDEN
+const struct lttng_trigger *lttng_error_query_condition_borrow_target(
+               const struct lttng_error_query *query);
+
 LTTNG_HIDDEN
 const struct lttng_trigger *lttng_error_query_action_borrow_trigger_target(
                const struct lttng_error_query *query);
@@ -82,4 +89,9 @@ int lttng_error_query_results_add_result(
                struct lttng_error_query_results *results,
                struct lttng_error_query_result *result);
 
+LTTNG_HIDDEN
+enum lttng_error_code lttng_error_query_results_mi_serialize(
+               const struct lttng_error_query_results *results,
+               struct mi_writer *writer);
+
 #endif /* LTTNG_ERROR_QUERY_INTERNAL_H */
This page took 0.023558 seconds and 4 git commands to generate.