Commit | Line | Data |
---|---|---|
cab3f160 | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
cab3f160 | 3 | * |
0235b0db | 4 | * Copyright 2017 Philippe Proulx <pproulx@efficios.com> |
cab3f160 JG |
5 | */ |
6 | ||
0235b0db MJ |
7 | #ifndef BABELTRACE_PLUGINS_UTILS_DUMMY_H |
8 | #define BABELTRACE_PLUGINS_UTILS_DUMMY_H | |
9 | ||
c2b71c92 | 10 | #include <glib.h> |
3fadfbc0 | 11 | #include <babeltrace2/babeltrace.h> |
91d81473 | 12 | #include "common/macros.h" |
c2b71c92 JG |
13 | |
14 | struct dummy { | |
9a2c8b8e | 15 | bt_message_iterator *msg_iter; |
c2b71c92 JG |
16 | }; |
17 | ||
d94d92ac | 18 | BT_HIDDEN |
21a9f056 | 19 | bt_component_class_initialize_method_status dummy_init( |
b19ff26f | 20 | bt_self_component_sink *component, |
59225a3e | 21 | bt_self_component_sink_configuration *config, |
b19ff26f | 22 | const bt_value *params, void *init_method_data); |
d94d92ac PP |
23 | |
24 | BT_HIDDEN | |
b19ff26f | 25 | void dummy_finalize(bt_self_component_sink *component); |
d94d92ac PP |
26 | |
27 | BT_HIDDEN | |
d24d5663 | 28 | bt_component_class_sink_graph_is_configured_method_status dummy_graph_is_configured( |
5badd463 | 29 | bt_self_component_sink *comp); |
d94d92ac PP |
30 | |
31 | BT_HIDDEN | |
d24d5663 | 32 | bt_component_class_sink_consume_method_status dummy_consume( |
b19ff26f | 33 | bt_self_component_sink *component); |
cab3f160 | 34 | |
e0dfa761 | 35 | #endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */ |