Re-format with clang-format 16
[babeltrace.git] / src / lib / graph / component-class-sink-simple.h
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2017-2019 Philippe Proulx <pproulx@efficios.com>
5 */
6
7#ifndef BABELTRACE_LIB_GRAPH_COMPONENT_CLASS_SINK_SIMPLE_H
8#define BABELTRACE_LIB_GRAPH_COMPONENT_CLASS_SINK_SIMPLE_H
9
10#include <babeltrace2/types.h>
11#include <babeltrace2/graph/message.h>
12
13struct simple_sink_init_method_data {
14 bt_graph_simple_sink_component_initialize_func init_func;
15 bt_graph_simple_sink_component_consume_func consume_func;
16 bt_graph_simple_sink_component_finalize_func finalize_func;
17 void *user_data;
18};
19
20struct bt_component_class_sink *bt_component_class_sink_simple_borrow(void);
21
22#endif /* BABELTRACE_LIB_GRAPH_COMPONENT_CLASS_SINK_SIMPLE_H */
This page took 0.032883 seconds and 5 git commands to generate.