Move to kernel style SPDX license identifiers
[babeltrace.git] / src / lib / graph / component-sink.h
CommitLineData
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
20struct bt_component_sink {
21 struct bt_component parent;
5badd463 22 bool graph_is_configured_method_called;
0d884c50
JG
23};
24
8738a040 25BT_HIDDEN
7c7c0433 26struct bt_component *bt_component_sink_create(
0d72b8c3 27 const struct bt_component_class *class);
8738a040 28
72b913fb
PP
29BT_HIDDEN
30void bt_component_sink_destroy(struct bt_component *component);
31
6ac74c0c 32#endif /* BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H */
This page took 0.074439 seconds and 4 git commands to generate.