lib: graph: add "self" and some "private" APIs
[babeltrace.git] / lib / babeltrace.c
index 090fc3bc5039b5df52958a54363e8fed33d2a244..35006c7c0e3b95a251edecc0790f9a3a692fd07b 100644 (file)
@@ -1,8 +1,4 @@
 /*
- * babeltrace.c
- *
- * Babeltrace Library
- *
  * Copyright 2010-2011 EfficiOS Inc. and Linux Foundation
  *
  * Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
 #include <babeltrace/babeltrace.h>
+#include <babeltrace/types.h>
 #include <stdlib.h>
-#include <stdbool.h>
-
-bool babeltrace_verbose, babeltrace_debug;
-
-static
-void __attribute__((constructor)) init_babeltrace_lib(void)
-{
-       if (getenv("BABELTRACE_VERBOSE"))
-               babeltrace_verbose = 1;
-       if (getenv("BABELTRACE_DEBUG"))
-               babeltrace_debug = 1;
-}
 
 int bt_version_get_major(void)
 {
This page took 0.024554 seconds and 4 git commands to generate.