* all copies or substantial portions of the Software.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* The Babeltrace clock representations
*/
BT_CLOCK_REAL,
};
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_CLOCK_TYPES_H */
#include <unistd.h>
#include <babeltrace/format.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* struct bt_context is opaque to the user */
struct bt_context;
struct stream_pos;
*/
struct bt_context *bt_ctf_event_get_context(const struct bt_ctf_event *event);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_CONTEXT_H */
#include <babeltrace/format.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Forward declarations */
struct bt_ctf_iter;
struct bt_dependencies;
BT_FLAGS_FREE_PRIVATE_DATA = (1 << 0),
};
+#ifdef __cplusplus
+}
+#endif
+
#endif /*_BABELTRACE_CTF_CALLBACKS_H */
#include <babeltrace/context.h>
#include <babeltrace/clock-types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct definition;
struct bt_ctf_event;
struct bt_ctf_event_decl;
*/
const char *bt_ctf_get_decl_field_name(const struct bt_ctf_field_decl *field);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_CTF_EVENTS_H */
#include <babeltrace/iterator.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct bt_ctf_iter;
struct bt_ctf_event;
*/
struct bt_ctf_event *bt_ctf_iter_read_event(struct bt_ctf_iter *iter);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_CTF_ITERATOR_H */
#include <stdint.h>
#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef int bt_intern_str;
/* forward declaration */
extern int bt_register_format(struct format *format);
/* TBD: format unregistration */
+#ifdef __cplusplus
+}
+#endif
#endif /* _BABELTRACE_FORMAT_H */
#include <babeltrace/format.h>
#include <babeltrace/context.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Forward declarations */
struct bt_iter;
struct bt_saved_pos;
struct bt_iter_pos *bt_iter_create_time_pos(struct bt_iter *iter,
uint64_t timestamp);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_ITERATOR_H */
found in the Linux kernel headers to enable people familiar with
the latter find their way in these sources as well. */
+#ifdef __cplusplus
+extern "C" {
+#endif
/* Basic type for the double-link list. */
struct bt_list_head
BT_INIT_LIST_HEAD(old);
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BT_LIST_H */
* all copies or substantial portions of the Software.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct trace_collection;
void init_trace_collection(struct trace_collection *tc);
int trace_collection_remove(struct trace_collection *tc,
struct trace_descriptor *td);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_TRACE_COLLECTION_H */
#include <stdint.h>
#include <babeltrace/clock-types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* trace_handle : unique identifier of a trace
*
*/
int bt_ctf_event_get_handle_id(const struct bt_ctf_event *event);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _BABELTRACE_TRACE_HANDLE_H */