Export the babeltrace API in babeltrace.h
[babeltrace.git] / include / babeltrace / babeltrace-internal.h
1 #ifndef _BABELTRACE_INTERNAL_H
2 #define _BABELTRACE_INTERNAL_H
3
4 #include <stdio.h>
5 #include <glib.h>
6
7 extern int babeltrace_verbose, babeltrace_debug;
8
9 #define printf_verbose(fmt, args...) \
10 do { \
11 if (babeltrace_verbose) \
12 printf("[verbose] " fmt, ## args); \
13 } while (0)
14
15 #define printf_debug(fmt, args...) \
16 do { \
17 if (babeltrace_debug) \
18 printf("[debug] " fmt, ## args); \
19 } while (0)
20
21 struct trace_descriptor;
22 struct trace_collection {
23 GPtrArray *array;
24 };
25
26 int convert_trace(struct trace_descriptor *td_write,
27 struct trace_collection *trace_collection_read);
28
29 extern int opt_field_names;
30
31 #endif
This page took 0.04336 seconds and 5 git commands to generate.