Move to kernel style SPDX license identifiers
[babeltrace.git] / src / lib / graph / query-executor.h
CommitLineData
c7eee084 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
c7eee084 3 *
0235b0db 4 * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
c7eee084
PP
5 */
6
0235b0db
MJ
7#ifndef BABELTRACE_GRAPH_QUERY_EXECUTOR_INTERNAL_H
8#define BABELTRACE_GRAPH_QUERY_EXECUTOR_INTERNAL_H
9
9b4f9b42
PP
10#include <glib.h>
11
3fadfbc0 12#include <babeltrace2/types.h>
3fadfbc0
MJ
13#include <babeltrace2/graph/query-executor.h>
14#include <babeltrace2/graph/component-class.h>
c7eee084 15
9b4f9b42 16#include "lib/object.h"
3c729b9a 17#include "lib/value.h"
9b4f9b42 18
c7eee084
PP
19struct bt_query_executor {
20 struct bt_object base;
9b4f9b42
PP
21
22 /*
23 * Array of `struct bt_interrupter *`, each one owned by this.
24 * If any interrupter is set, then this query executor is deemed
25 * interrupted.
26 */
27 GPtrArray *interrupters;
28
29 /*
30 * Default interrupter to support bt_query_executor_interrupt();
31 * owned by this.
32 */
33 struct bt_interrupter *default_interrupter;
3c729b9a
PP
34
35 /* Owned by this */
36 const struct bt_component_class *comp_cls;
37
38 GString *object;
39
40 /* Owned by this */
41 const struct bt_value *params;
42
7c14d641 43 void *method_data;
3c729b9a 44 enum bt_logging_level log_level;
c7eee084
PP
45};
46
c7eee084 47#endif /* BABELTRACE_GRAPH_QUERY_EXECUTOR_INTERNAL_H */
This page took 0.06474 seconds and 4 git commands to generate.