Move to kernel style SPDX license identifiers
[babeltrace.git] / src / plugins / ctf / common / metadata / ctf-meta-visitors.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2018 Philippe Proulx <pproulx@efficios.com>
5 */
6
7 #ifndef _CTF_META_VISITORS_H
8 #define _CTF_META_VISITORS_H
9
10 #include <babeltrace2/babeltrace.h>
11 #include "common/macros.h"
12
13 #include "ctf-meta.h"
14
15 struct meta_log_config;
16
17 BT_HIDDEN
18 int ctf_trace_class_resolve_field_classes(struct ctf_trace_class *tc,
19 struct meta_log_config *log_cfg);
20
21 BT_HIDDEN
22 int ctf_trace_class_translate(bt_self_component *self_comp,
23 bt_trace_class *ir_tc, struct ctf_trace_class *tc);
24
25 BT_HIDDEN
26 int ctf_trace_class_update_default_clock_classes(
27 struct ctf_trace_class *ctf_tc,
28 struct meta_log_config *log_cfg);
29
30 BT_HIDDEN
31 int ctf_trace_class_update_in_ir(struct ctf_trace_class *ctf_tc);
32
33 BT_HIDDEN
34 int ctf_trace_class_update_meanings(struct ctf_trace_class *ctf_tc);
35
36 BT_HIDDEN
37 int ctf_trace_class_update_text_array_sequence(struct ctf_trace_class *ctf_tc);
38
39 BT_HIDDEN
40 int ctf_trace_class_update_value_storing_indexes(struct ctf_trace_class *ctf_tc);
41
42 BT_HIDDEN
43 int ctf_trace_class_update_stream_class_config(struct ctf_trace_class *ctf_tc);
44
45 BT_HIDDEN
46 int ctf_trace_class_validate(struct ctf_trace_class *ctf_tc,
47 struct meta_log_config *log_cfg);
48
49 BT_HIDDEN
50 void ctf_trace_class_warn_meaningless_header_fields(
51 struct ctf_trace_class *ctf_tc,
52 struct meta_log_config *log_cfg);
53
54 #endif /* _CTF_META_VISITORS_H */
This page took 0.030067 seconds and 4 git commands to generate.