Visibility hidden by default
[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_component_class_initialize_method_status muxer_init(
16 bt_self_component_filter *self_comp,
17 bt_self_component_filter_configuration *config,
18 const bt_value *params, void *init_data);
19
20 void muxer_finalize(bt_self_component_filter *self_comp);
21
22 bt_message_iterator_class_initialize_method_status muxer_msg_iter_init(
23 bt_self_message_iterator *self_msg_iter,
24 bt_self_message_iterator_configuration *config,
25 bt_self_component_port_output *self_port);
26
27 void muxer_msg_iter_finalize(
28 bt_self_message_iterator *self_msg_iter);
29
30 bt_message_iterator_class_next_method_status muxer_msg_iter_next(
31 bt_self_message_iterator *self_msg_iter,
32 bt_message_array_const msgs, uint64_t capacity,
33 uint64_t *count);
34
35 bt_component_class_port_connected_method_status muxer_input_port_connected(
36 bt_self_component_filter *comp,
37 bt_self_component_port_input *self_port,
38 const bt_port_output *other_port);
39
40 bt_message_iterator_class_can_seek_beginning_method_status
41 muxer_msg_iter_can_seek_beginning(
42 bt_self_message_iterator *message_iterator, bt_bool *can_seek);
43
44 bt_message_iterator_class_seek_beginning_method_status muxer_msg_iter_seek_beginning(
45 bt_self_message_iterator *message_iterator);
46
47 #endif /* BABELTRACE_PLUGINS_UTILS_MUXER_H */
This page took 0.030359 seconds and 4 git commands to generate.