Move to kernel style SPDX license identifiers
[babeltrace.git] / src / plugins / utils / muxer / muxer.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
5 * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
6 */
7
8 #ifndef BABELTRACE_PLUGINS_UTILS_MUXER_H
9 #define BABELTRACE_PLUGINS_UTILS_MUXER_H
10
11 #include <stdint.h>
12 #include <babeltrace2/babeltrace.h>
13 #include "common/macros.h"
14
15 BT_HIDDEN
16 bt_component_class_initialize_method_status muxer_init(
17 bt_self_component_filter *self_comp,
18 bt_self_component_filter_configuration *config,
19 const bt_value *params, void *init_data);
20
21 BT_HIDDEN
22 void muxer_finalize(bt_self_component_filter *self_comp);
23
24 BT_HIDDEN
25 bt_message_iterator_class_initialize_method_status muxer_msg_iter_init(
26 bt_self_message_iterator *self_msg_iter,
27 bt_self_message_iterator_configuration *config,
28 bt_self_component_port_output *self_port);
29
30 BT_HIDDEN
31 void muxer_msg_iter_finalize(
32 bt_self_message_iterator *self_msg_iter);
33
34 BT_HIDDEN
35 bt_message_iterator_class_next_method_status muxer_msg_iter_next(
36 bt_self_message_iterator *self_msg_iter,
37 bt_message_array_const msgs, uint64_t capacity,
38 uint64_t *count);
39
40 BT_HIDDEN
41 bt_component_class_port_connected_method_status muxer_input_port_connected(
42 bt_self_component_filter *comp,
43 bt_self_component_port_input *self_port,
44 const bt_port_output *other_port);
45
46 BT_HIDDEN
47 bt_message_iterator_class_can_seek_beginning_method_status
48 muxer_msg_iter_can_seek_beginning(
49 bt_self_message_iterator *message_iterator, bt_bool *can_seek);
50
51 BT_HIDDEN
52 bt_message_iterator_class_seek_beginning_method_status muxer_msg_iter_seek_beginning(
53 bt_self_message_iterator *message_iterator);
54
55 #endif /* BABELTRACE_PLUGINS_UTILS_MUXER_H */
This page took 0.030768 seconds and 4 git commands to generate.