Move to kernel style SPDX license identifiers
[babeltrace.git] / src / plugins / utils / trimmer / trimmer.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
5 *
6 * BabelTrace - Trace Trimmer Plug-in
7 */
8
9 #ifndef BABELTRACE_PLUGINS_UTILS_TRIMMER_H
10 #define BABELTRACE_PLUGINS_UTILS_TRIMMER_H
11
12 #include "common/macros.h"
13 #include <babeltrace2/babeltrace.h>
14
15 BT_HIDDEN
16 void trimmer_finalize(bt_self_component_filter *self_comp);
17
18 BT_HIDDEN
19 bt_component_class_initialize_method_status trimmer_init(
20 bt_self_component_filter *self_comp,
21 bt_self_component_filter_configuration *config,
22 const bt_value *params, void *init_data);
23
24 BT_HIDDEN
25 bt_message_iterator_class_initialize_method_status trimmer_msg_iter_init(
26 bt_self_message_iterator *self_msg_iter,
27 bt_self_message_iterator_configuration *config,
28 bt_self_component_port_output *port);
29
30 BT_HIDDEN
31 bt_message_iterator_class_next_method_status trimmer_msg_iter_next(
32 bt_self_message_iterator *self_msg_iter,
33 bt_message_array_const msgs, uint64_t capacity,
34 uint64_t *count);
35
36 BT_HIDDEN
37 void trimmer_msg_iter_finalize(bt_self_message_iterator *self_msg_iter);
38
39 #endif /* BABELTRACE_PLUGINS_UTILS_TRIMMER_H */
This page took 0.029863 seconds and 4 git commands to generate.