sink.utils.dummy: remove unnecessary check in dummy_consume()
[babeltrace.git] / src / plugins / utils / dummy / dummy.h
CommitLineData
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 13
fca1d0f5
PP
14#ifdef __cplusplus
15extern "C" {
16#endif
17
c2b71c92 18struct dummy {
9a2c8b8e 19 bt_message_iterator *msg_iter;
c2b71c92
JG
20};
21
21a9f056 22bt_component_class_initialize_method_status dummy_init(
b19ff26f 23 bt_self_component_sink *component,
59225a3e 24 bt_self_component_sink_configuration *config,
b19ff26f 25 const bt_value *params, void *init_method_data);
d94d92ac 26
b19ff26f 27void dummy_finalize(bt_self_component_sink *component);
d94d92ac 28
d24d5663 29bt_component_class_sink_graph_is_configured_method_status dummy_graph_is_configured(
5badd463 30 bt_self_component_sink *comp);
d94d92ac 31
d24d5663 32bt_component_class_sink_consume_method_status dummy_consume(
b19ff26f 33 bt_self_component_sink *component);
cab3f160 34
fca1d0f5
PP
35#ifdef __cplusplus
36}
37#endif
38
e0dfa761 39#endif /* BABELTRACE_PLUGINS_UTILS_DUMMY_H */
This page took 0.119051 seconds and 4 git commands to generate.