Some .h files should be accessible to user programmed modules and thus
[lttv.git] / ltt / branches / poly / lttv / main.c
index 2ec66f74dd1e2ab059fb43ead5b0346a41bd7aed..54093b267cd1b129d19d74ded454fae556ab9802 100644 (file)
@@ -1,10 +1,11 @@
 
+#include <lttv/hook.h>
+#include <lttv/module.h>
+
 #include "lttv.h"
 #include "trace.h"
 #include "attribute.h"
-#include "hook.h"
 #include "option.h"
-#include "module.h"
 
 /* The main program maintains a few central data structures and relies
    on modules for the rest. These data structures may be accessed by modules
@@ -124,6 +125,12 @@ int main(int argc, char **argv) {
   
 }
 
+lttv_attributes *lttv_global_attributes()
+{
+       return attributes_global;
+}
+
+
 void lttv_module_option(void *hook_data)
 { 
   lttv_module_load(aModule,aArgc,aArgv,STANDALONE);
This page took 0.023657 seconds and 4 git commands to generate.