2 * SPDX-License-Identifier: MIT
4 * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
5 * Copyright 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
8 #ifndef BABELTRACE_GRAPH_COMPONENT_DESCRIPTOR_SET_INTERNAL_H
9 #define BABELTRACE_GRAPH_COMPONENT_DESCRIPTOR_SET_INTERNAL_H
11 #include <babeltrace2/graph/graph.h>
12 #include <babeltrace2/graph/component-descriptor-set.h>
13 #include "common/macros.h"
14 #include "lib/object.h"
15 #include "common/assert.h"
16 #include "common/common.h"
20 #include "component.h"
21 #include "component-sink.h"
22 #include "connection.h"
23 #include "lib/func-status.h"
26 * This structure describes an eventual component instance.
28 struct bt_component_descriptor_set_entry
{
30 struct bt_component_class
*comp_cls
;
33 struct bt_value
*params
;
35 void *init_method_data
;
38 struct bt_component_descriptor_set
{
39 struct bt_object base
;
41 /* Array of `struct bt_component_descriptor_set_entry *` */
44 /* Array of `struct bt_component_descriptor_set_entry *` */
47 /* Array of `struct bt_component_descriptor_set_entry *` */
51 #endif /* BABELTRACE_GRAPH_COMPONENT_DESCRIPTOR_SET_INTERNAL_H */