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 | ||
7c7c0433 | 25 | struct bt_component *bt_component_sink_create( |
0d72b8c3 | 26 | const struct bt_component_class *class); |
8738a040 | 27 | |
72b913fb PP |
28 | void bt_component_sink_destroy(struct bt_component *component); |
29 | ||
6ac74c0c | 30 | #endif /* BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H */ |