flt.utils.muxer: use a heap to sort iterators (also: rewrite in C++)
[babeltrace.git] / src / plugins / utils / dummy / dummy.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
5 */
6
7 #ifndef BABELTRACE_PLUGINS_UTILS_DUMMY_H
8 #define BABELTRACE_PLUGINS_UTILS_DUMMY_H
9
10 #include <glib.h>
11 #include <babeltrace2/babeltrace.h>
12 #include "common/macros.h"
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 struct dummy {
19 bt_message_iterator *msg_iter;
20 };
21
22 bt_component_class_initialize_method_status dummy_init(
23 bt_self_component_sink *component,
24 bt_self_component_sink_configuration *config,
25 const bt_value *params, void *init_method_data);
26
27 void dummy_finalize(bt_self_component_sink *component);
28
29 bt_component_class_sink_graph_is_configured_method_status dummy_graph_is_configured(
30 bt_self_component_sink *comp);
31
32 bt_component_class_sink_consume_method_status dummy_consume(
33 bt_self_component_sink *component);
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39 #endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */
This page took 0.02985 seconds and 4 git commands to generate.