Add babeltrace option parsing
[babeltrace.git] / include / babeltrace / babeltrace.h
... / ...
CommitLineData
1#ifndef _BABELTRACE_H
2#define _BABELTRACE_H
3
4#define BABELTRACE_VERSION_MAJOR 0
5#define BABELTRACE_VERSION_MINOR 1
6
7extern 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#endif
This page took 0.021826 seconds and 4 git commands to generate.