Babeltrace 2 C API 2.0.7
Open-source trace manipulation framework
Loading...
Searching...
No Matches
types.h
1#ifndef BABELTRACE2_TYPES_H
2#define BABELTRACE2_TYPES_H
3
4/*
5 * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
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
26#ifndef __BT_IN_BABELTRACE_H
27# error "Please include <babeltrace2/babeltrace.h> instead."
28#endif
29
30#include <stdint.h>
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36typedef struct bt_clock_class bt_clock_class;
37typedef struct bt_clock_snapshot bt_clock_snapshot;
38typedef struct bt_component bt_component;
39typedef struct bt_component_class bt_component_class;
40typedef struct bt_component_class_filter bt_component_class_filter;
41typedef struct bt_component_class_sink bt_component_class_sink;
42typedef struct bt_component_class_source bt_component_class_source;
43typedef struct bt_component_descriptor_set bt_component_descriptor_set;
44typedef struct bt_component_filter bt_component_filter;
45typedef struct bt_component_sink bt_component_sink;
46typedef struct bt_component_source bt_component_source;
47typedef struct bt_connection bt_connection;
48typedef struct bt_error bt_error;
49typedef struct bt_error_cause bt_error_cause;
50typedef struct bt_event bt_event;
51typedef struct bt_event_class bt_event_class;
52typedef struct bt_event_header_field bt_event_header_field;
53typedef struct bt_field bt_field;
54typedef struct bt_field_class bt_field_class;
55typedef struct bt_field_class_enumeration_mapping bt_field_class_enumeration_mapping;
56typedef struct bt_field_class_enumeration_signed_mapping bt_field_class_enumeration_signed_mapping;
57typedef struct bt_field_class_enumeration_unsigned_mapping bt_field_class_enumeration_unsigned_mapping;
58typedef struct bt_field_class_structure_member bt_field_class_structure_member;
59typedef struct bt_field_class_variant_option bt_field_class_variant_option;
60typedef struct bt_field_class_variant_with_selector_field_integer_signed_option bt_field_class_variant_with_selector_field_integer_signed_option;
61typedef struct bt_field_class_variant_with_selector_field_integer_unsigned_option bt_field_class_variant_with_selector_field_integer_unsigned_option;
62typedef struct bt_field_path bt_field_path;
63typedef struct bt_field_path_item bt_field_path_item;
64typedef struct bt_graph bt_graph;
65typedef struct bt_integer_range_set bt_integer_range_set;
66typedef struct bt_integer_range_set_signed bt_integer_range_set_signed;
67typedef struct bt_integer_range_set_unsigned bt_integer_range_set_unsigned;
68typedef struct bt_integer_range_signed bt_integer_range_signed;
69typedef struct bt_integer_range_unsigned bt_integer_range_unsigned;
70typedef struct bt_interrupter bt_interrupter;
71typedef struct bt_message bt_message;
72typedef struct bt_message_iterator bt_message_iterator;
73typedef struct bt_message_iterator_class bt_message_iterator_class;
74typedef struct bt_object bt_object;
75typedef struct bt_packet bt_packet;
76typedef struct bt_plugin bt_plugin;
77typedef struct bt_plugin_set bt_plugin_set;
78typedef struct bt_plugin_so_shared_lib_handle bt_plugin_so_shared_lib_handle;
79typedef struct bt_port bt_port;
80typedef struct bt_port_input bt_port_input;
81typedef struct bt_port_output bt_port_output;
82typedef struct bt_port_output_message_iterator bt_port_output_message_iterator;
83typedef struct bt_private_query_executor bt_private_query_executor;
84typedef struct bt_query_executor bt_query_executor;
85typedef struct bt_self_component bt_self_component;
86typedef struct bt_self_component_class bt_self_component_class;
87typedef struct bt_self_component_class_filter bt_self_component_class_filter;
88typedef struct bt_self_component_class_sink bt_self_component_class_sink;
89typedef struct bt_self_component_class_source bt_self_component_class_source;
90typedef struct bt_self_component_filter bt_self_component_filter;
91typedef struct bt_self_component_filter_configuration bt_self_component_filter_configuration;
92typedef struct bt_self_component_port bt_self_component_port;
93typedef struct bt_self_component_port_input bt_self_component_port_input;
94typedef struct bt_message_iterator bt_message_iterator;
95typedef struct bt_self_component_port_output bt_self_component_port_output;
96typedef struct bt_self_component_sink bt_self_component_sink;
97typedef struct bt_self_component_sink_configuration bt_self_component_sink_configuration;
98typedef struct bt_self_component_source bt_self_component_source;
99typedef struct bt_self_component_source_configuration bt_self_component_source_configuration;
100typedef struct bt_self_message_iterator bt_self_message_iterator;
101typedef struct bt_self_message_iterator_configuration bt_self_message_iterator_configuration;
102typedef struct bt_self_plugin bt_self_plugin;
103typedef struct bt_stream bt_stream;
104typedef struct bt_stream_class bt_stream_class;
105typedef struct bt_trace bt_trace;
106typedef struct bt_trace_class bt_trace_class;
107typedef struct bt_value bt_value;
108
122#define BT_TRUE 1
123
128#define BT_FALSE 0
129
140typedef int bt_bool;
141
150typedef uint64_t bt_listener_id;
151
158typedef uint8_t const *bt_uuid;
159
186
196typedef bt_message const **bt_message_array_const;
197
200#ifdef __cplusplus
201}
202#endif
203
204#endif /* BABELTRACE2_TYPES_H */
uint64_t bt_listener_id
Numeric ID which identifies a user listener function.
Definition types.h:150
uint8_t const * bt_uuid
A UUID, that is, an array of 16&#160;constant bytes.
Definition types.h:158
bt_property_availability
Availability of an object's property.
Definition types.h:173
int bt_bool
Babeltrace&#160;2 boolean type.
Definition types.h:140
bt_message const ** bt_message_array_const
Array of constant messages.
Definition types.h:196
@ BT_PROPERTY_AVAILABILITY_AVAILABLE
Property is available.
Definition types.h:178
@ BT_PROPERTY_AVAILABILITY_NOT_AVAILABLE
Property is not available.
Definition types.h:184