Move to kernel style SPDX license identifiers
[babeltrace.git] / src / plugins / text / dmesg / dmesg.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
5 */
6
7 #ifndef BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H
8 #define BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H
9
10 #include <stdbool.h>
11 #include "common/macros.h"
12 #include <babeltrace2/babeltrace.h>
13
14 BT_HIDDEN
15 bt_component_class_initialize_method_status dmesg_init(
16 bt_self_component_source *self_comp,
17 bt_self_component_source_configuration *config,
18 const bt_value *params, void *init_method_data);
19
20 BT_HIDDEN
21 void dmesg_finalize(bt_self_component_source *self_comp);
22
23 BT_HIDDEN
24 bt_message_iterator_class_initialize_method_status dmesg_msg_iter_init(
25 bt_self_message_iterator *self_msg_iter,
26 bt_self_message_iterator_configuration *config,
27 bt_self_component_port_output *self_port);
28
29 BT_HIDDEN
30 void dmesg_msg_iter_finalize(
31 bt_self_message_iterator *self_msg_iter);
32
33 BT_HIDDEN
34 bt_message_iterator_class_next_method_status dmesg_msg_iter_next(
35 bt_self_message_iterator *self_msg_iter,
36 bt_message_array_const msgs, uint64_t capacity,
37 uint64_t *count);
38
39 BT_HIDDEN
40 bt_message_iterator_class_can_seek_beginning_method_status
41 dmesg_msg_iter_can_seek_beginning(
42 bt_self_message_iterator *message_iterator, bt_bool *can_seek);
43
44 BT_HIDDEN
45 bt_message_iterator_class_seek_beginning_method_status dmesg_msg_iter_seek_beginning(
46 bt_self_message_iterator *message_iterator);
47
48 #endif /* BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H */
This page took 0.02938 seconds and 4 git commands to generate.