Move `include/babeltrace2/ctf-writer` -> `include/babeltrace2-ctf-writer`
[babeltrace.git] / include / babeltrace2 / babeltrace.h
CommitLineData
924dc299
PP
1#ifndef BABELTRACE2_BABELTRACE_H
2#define BABELTRACE2_BABELTRACE_H
3fadfbc0
MJ
3
4/*
bbb7b5f0 5 * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
3fadfbc0
MJ
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal
9 * in the Software without restriction, including without limitation the rights
10 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 * copies of the Software, and to permit persons to whom the Software is
12 * furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 * SOFTWARE.
24 */
25
4fa90f32
PP
26/*
27 * Tell the specific headers that they are included from this header.
28 *
29 * Do NOT define `__BT_IN_BABELTRACE_H` in user code.
30 */
31#ifndef __BT_IN_BABELTRACE_H
32# define __BT_IN_BABELTRACE_H
33#endif
34
35/* Need by some of the following included headers */
36#include <babeltrace2/func-status.h>
37
3fadfbc0 38/* Core API */
553c4bab
PP
39#include <babeltrace2/current-thread.h>
40#include <babeltrace2/error-cause-const.h>
41#include <babeltrace2/error-const.h>
3fadfbc0
MJ
42#include <babeltrace2/logging.h>
43#include <babeltrace2/property.h>
44#include <babeltrace2/types.h>
45#include <babeltrace2/util.h>
46#include <babeltrace2/value-const.h>
47#include <babeltrace2/value.h>
48#include <babeltrace2/version.h>
49
3fadfbc0
MJ
50/* Trace IR API */
51#include <babeltrace2/trace-ir/clock-class-const.h>
52#include <babeltrace2/trace-ir/clock-class.h>
53#include <babeltrace2/trace-ir/clock-snapshot-const.h>
54#include <babeltrace2/trace-ir/event-class-const.h>
55#include <babeltrace2/trace-ir/event-class.h>
56#include <babeltrace2/trace-ir/event-const.h>
57#include <babeltrace2/trace-ir/event.h>
58#include <babeltrace2/trace-ir/field-class-const.h>
59#include <babeltrace2/trace-ir/field-class.h>
60#include <babeltrace2/trace-ir/field-const.h>
61#include <babeltrace2/trace-ir/field-path-const.h>
62#include <babeltrace2/trace-ir/field.h>
63#include <babeltrace2/trace-ir/packet-const.h>
64#include <babeltrace2/trace-ir/packet-context-field.h>
65#include <babeltrace2/trace-ir/packet.h>
66#include <babeltrace2/trace-ir/stream-class-const.h>
67#include <babeltrace2/trace-ir/stream-class.h>
68#include <babeltrace2/trace-ir/stream-const.h>
69#include <babeltrace2/trace-ir/stream.h>
70#include <babeltrace2/trace-ir/trace-class-const.h>
71#include <babeltrace2/trace-ir/trace-class.h>
72#include <babeltrace2/trace-ir/trace-const.h>
73#include <babeltrace2/trace-ir/trace.h>
74
4fa90f32 75/* Component class API */
3fadfbc0
MJ
76#include <babeltrace2/graph/component-class-const.h>
77#include <babeltrace2/graph/component-class-filter-const.h>
78#include <babeltrace2/graph/component-class-filter.h>
79#include <babeltrace2/graph/component-class-sink-const.h>
80#include <babeltrace2/graph/component-class-sink.h>
81#include <babeltrace2/graph/component-class-source-const.h>
82#include <babeltrace2/graph/component-class-source.h>
83#include <babeltrace2/graph/component-class.h>
4fa90f32
PP
84#include <babeltrace2/graph/self-component-class-filter.h>
85#include <babeltrace2/graph/self-component-class-sink.h>
86#include <babeltrace2/graph/self-component-class-source.h>
87
88/* Component API */
3fadfbc0
MJ
89#include <babeltrace2/graph/component-const.h>
90#include <babeltrace2/graph/component-filter-const.h>
91#include <babeltrace2/graph/component-sink-const.h>
92#include <babeltrace2/graph/component-source-const.h>
4fa90f32
PP
93#include <babeltrace2/graph/self-component-filter.h>
94#include <babeltrace2/graph/self-component-port-input.h>
95#include <babeltrace2/graph/self-component-port-output.h>
96#include <babeltrace2/graph/self-component-port.h>
97#include <babeltrace2/graph/self-component-sink.h>
98#include <babeltrace2/graph/self-component-source.h>
99#include <babeltrace2/graph/self-component.h>
100
101/* Message iterator API */
102#include <babeltrace2/graph/message-iterator.h>
103#include <babeltrace2/graph/port-output-message-iterator.h>
104#include <babeltrace2/graph/self-component-port-input-message-iterator.h>
105#include <babeltrace2/graph/self-message-iterator.h>
106
107/* Message API */
3fadfbc0
MJ
108#include <babeltrace2/graph/message-const.h>
109#include <babeltrace2/graph/message-discarded-events-const.h>
110#include <babeltrace2/graph/message-discarded-events.h>
111#include <babeltrace2/graph/message-discarded-packets-const.h>
112#include <babeltrace2/graph/message-discarded-packets.h>
113#include <babeltrace2/graph/message-event-const.h>
114#include <babeltrace2/graph/message-event.h>
3fadfbc0
MJ
115#include <babeltrace2/graph/message-message-iterator-inactivity-const.h>
116#include <babeltrace2/graph/message-message-iterator-inactivity.h>
117#include <babeltrace2/graph/message-packet-beginning-const.h>
118#include <babeltrace2/graph/message-packet-beginning.h>
119#include <babeltrace2/graph/message-packet-end-const.h>
120#include <babeltrace2/graph/message-packet-end.h>
3fadfbc0
MJ
121#include <babeltrace2/graph/message-stream-beginning-const.h>
122#include <babeltrace2/graph/message-stream-beginning.h>
188edac1 123#include <babeltrace2/graph/message-stream-const.h>
3fadfbc0
MJ
124#include <babeltrace2/graph/message-stream-end-const.h>
125#include <babeltrace2/graph/message-stream-end.h>
4fa90f32
PP
126
127/* Graph API */
128#include <babeltrace2/graph/connection-const.h>
129#include <babeltrace2/graph/graph-const.h>
130#include <babeltrace2/graph/graph.h>
3fadfbc0
MJ
131#include <babeltrace2/graph/port-const.h>
132#include <babeltrace2/graph/port-input-const.h>
133#include <babeltrace2/graph/port-output-const.h>
4fa90f32
PP
134
135/* Query executor API */
3fadfbc0
MJ
136#include <babeltrace2/graph/query-executor-const.h>
137#include <babeltrace2/graph/query-executor.h>
4fa90f32
PP
138
139/* Plugin API */
140#include <babeltrace2/plugin/plugin-const.h>
141#include <babeltrace2/plugin/plugin-set-const.h>
142
143/* Plugin development */
144#include <babeltrace2/plugin/plugin-dev.h>
145
146/* Cancel private definitions */
147#undef __BT_FUNC_STATUS_OVERFLOW
148#undef __BT_FUNC_STATUS_INVALID_PARAMS
149#undef __BT_FUNC_STATUS_INVALID_OBJECT
150#undef __BT_FUNC_STATUS_MEMORY_ERROR
151#undef __BT_FUNC_STATUS_LOADING_ERROR
152#undef __BT_FUNC_STATUS_ERROR
153#undef __BT_FUNC_STATUS_OK
154#undef __BT_FUNC_STATUS_END
155#undef __BT_FUNC_STATUS_NOT_FOUND
156#undef __BT_FUNC_STATUS_AGAIN
157#undef __BT_FUNC_STATUS_UNSUPPORTED
158#undef __BT_FUNC_STATUS_CANCELED
159#undef __BT_IN_BABELTRACE_H
3fadfbc0 160
924dc299 161#endif /* BABELTRACE2_BABELTRACE_H */
This page took 0.035115 seconds and 4 git commands to generate.