Move to kernel style SPDX license identifiers
[babeltrace.git] / src / lib / graph / component-sink.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
5 * Copyright 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 */
7
8 #ifndef BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H
9 #define BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H
10
11 #include <stdbool.h>
12
13 #include "common/macros.h"
14 #include "compat/compiler.h"
15 #include <babeltrace2/graph/component.h>
16
17 #include "component-class.h"
18 #include "component.h"
19
20 struct bt_component_sink {
21 struct bt_component parent;
22 bool graph_is_configured_method_called;
23 };
24
25 BT_HIDDEN
26 struct bt_component *bt_component_sink_create(
27 const struct bt_component_class *class);
28
29 BT_HIDDEN
30 void bt_component_sink_destroy(struct bt_component *component);
31
32 #endif /* BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H */
This page took 0.02964 seconds and 4 git commands to generate.