Fix: lib: add NULL check for destroy_listeners in destroy_component_class
[babeltrace.git] / src / lib / graph / component-source.h
CommitLineData
0777b693 1/*
0235b0db
MJ
2 * SPDX-License-Identifier: MIT
3 *
e2f7325d 4 * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
0777b693 5 * Copyright 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com>
0777b693
JG
6 */
7
0235b0db
MJ
8#ifndef BABELTRACE_GRAPH_COMPONENT_SOURCE_INTERNAL_H
9#define BABELTRACE_GRAPH_COMPONENT_SOURCE_INTERNAL_H
10
91d81473 11#include "common/macros.h"
578e048b
MJ
12
13#include "component-class.h"
14#include "component.h"
0777b693 15
0d884c50
JG
16struct bt_component_source {
17 struct bt_component parent;
0777b693
JG
18};
19
8738a040 20BT_HIDDEN
7c7c0433 21struct bt_component *bt_component_source_create(
0d72b8c3 22 const struct bt_component_class *class);
7c7c0433 23
72b913fb
PP
24BT_HIDDEN
25void bt_component_source_destroy(struct bt_component *component);
26
6ac74c0c 27#endif /* BABELTRACE_GRAPH_COMPONENT_SOURCE_INTERNAL_H */
This page took 0.08143 seconds and 4 git commands to generate.