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