2 * SPDX-License-Identifier: MIT
4 * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
7 #ifndef BABELTRACE_GRAPH_QUERY_EXECUTOR_INTERNAL_H
8 #define BABELTRACE_GRAPH_QUERY_EXECUTOR_INTERNAL_H
12 #include <babeltrace2/types.h>
13 #include <babeltrace2/graph/query-executor.h>
14 #include <babeltrace2/graph/component-class.h>
16 #include "lib/object.h"
17 #include "lib/value.h"
19 struct bt_query_executor
{
20 struct bt_object base
;
23 * Array of `struct bt_interrupter *`, each one owned by this.
24 * If any interrupter is set, then this query executor is deemed
27 GPtrArray
*interrupters
;
30 * Default interrupter to support bt_query_executor_interrupt();
33 struct bt_interrupter
*default_interrupter
;
36 const struct bt_component_class
*comp_cls
;
41 const struct bt_value
*params
;
44 enum bt_logging_level log_level
;
47 #endif /* BABELTRACE_GRAPH_QUERY_EXECUTOR_INTERNAL_H */