| 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 | struct dummy { |
| 15 | bt_message_iterator *msg_iter; |
| 16 | }; |
| 17 | |
| 18 | BT_HIDDEN |
| 19 | bt_component_class_initialize_method_status dummy_init( |
| 20 | bt_self_component_sink *component, |
| 21 | bt_self_component_sink_configuration *config, |
| 22 | const bt_value *params, void *init_method_data); |
| 23 | |
| 24 | BT_HIDDEN |
| 25 | void dummy_finalize(bt_self_component_sink *component); |
| 26 | |
| 27 | BT_HIDDEN |
| 28 | bt_component_class_sink_graph_is_configured_method_status dummy_graph_is_configured( |
| 29 | bt_self_component_sink *comp); |
| 30 | |
| 31 | BT_HIDDEN |
| 32 | bt_component_class_sink_consume_method_status dummy_consume( |
| 33 | bt_self_component_sink *component); |
| 34 | |
| 35 | #endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */ |