Commit | Line | Data |
---|---|---|
0d884c50 | 1 | /* |
0235b0db MJ |
2 | * SPDX-License-Identifier: MIT |
3 | * | |
e2f7325d | 4 | * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com> |
0d884c50 | 5 | * Copyright 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
0d884c50 JG |
6 | */ |
7 | ||
0235b0db MJ |
8 | #ifndef BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H |
9 | #define BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H | |
10 | ||
c4f23e30 FD |
11 | #include <stdbool.h> |
12 | ||
91d81473 | 13 | #include "common/macros.h" |
578e048b | 14 | #include "compat/compiler.h" |
43c59509 | 15 | #include <babeltrace2/graph/component.h> |
578e048b MJ |
16 | |
17 | #include "component-class.h" | |
18 | #include "component.h" | |
0d884c50 JG |
19 | |
20 | struct bt_component_sink { | |
21 | struct bt_component parent; | |
5badd463 | 22 | bool graph_is_configured_method_called; |
0d884c50 JG |
23 | }; |
24 | ||
c8515511 | 25 | struct bt_component *bt_component_sink_create(void); |
8738a040 | 26 | |
6ac74c0c | 27 | #endif /* BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H */ |