+#include <lttv/hook.h>
+#include <lttv/module.h>
+
#include <lttv/lttv.h>
-#include <lttv/trace.h>
+#include <lttv/attribute.h>
+#include <lttv/option.h>
+#include <lttv/traceSet.h>
+#include <ltt/trace.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
through an exported API */
they are loaded and initialized. */
-lttv_attributes *attributes_global;
+static lttv_attributes *attributes_global;
static lttv_hooks
*hooks_init_after,
}
+lttv_attributes *lttv_global_attributes()
+{
+ return attributes_global;
+}
+
+
void lttv_module_option(void *hook_data)
{
lttv_module_load(aModule,aArgc,aArgv,STANDALONE);