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