Move to kernel style SPDX license identifiers
[babeltrace.git] / src / lib / graph / component-class-sink-simple.h
CommitLineData
078033ed 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
078033ed 3 *
0235b0db 4 * Copyright 2017-2019 Philippe Proulx <pproulx@efficios.com>
078033ed
PP
5 */
6
0235b0db
MJ
7#ifndef BABELTRACE_GRAPH_COMPONENT_CLASS_SINK_SIMPLE_H
8#define BABELTRACE_GRAPH_COMPONENT_CLASS_SINK_SIMPLE_H
9
078033ed
PP
10#include <stdint.h>
11#include <babeltrace2/types.h>
43c59509 12#include <babeltrace2/graph/message.h>
078033ed
PP
13
14struct simple_sink_init_method_data {
21a9f056 15 bt_graph_simple_sink_component_initialize_func init_func;
078033ed
PP
16 bt_graph_simple_sink_component_consume_func consume_func;
17 bt_graph_simple_sink_component_finalize_func finalize_func;
18 void *user_data;
19};
20
21extern struct bt_component_class_sink *
22bt_component_class_sink_simple_borrow(void);
23
24#endif /* BABELTRACE_GRAPH_COMPONENT_CLASS_SINK_SIMPLE_H */
This page took 0.039005 seconds and 4 git commands to generate.