projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some .h files should be accessible to user programmed modules and thus
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
main.c
diff --git
a/ltt/branches/poly/lttv/main.c
b/ltt/branches/poly/lttv/main.c
index fdb44c70e3e4f15e7ad0fd1a436460995bcc6020..54093b267cd1b129d19d74ded454fae556ab9802 100644
(file)
--- a/
ltt/branches/poly/lttv/main.c
+++ b/
ltt/branches/poly/lttv/main.c
@@
-1,7
+1,11
@@
-#include <lttv/
lttv
.h>
-#include <lttv/
trac
e.h>
+#include <lttv/
hook
.h>
+#include <lttv/
modul
e.h>
+#include "lttv.h"
+#include "trace.h"
+#include "attribute.h"
+#include "option.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
/* The main program maintains a few central data structures and relies
on modules for the rest. These data structures may be accessed by modules
@@
-11,7
+15,7
@@
they are loaded and initialized. */
they are loaded and initialized. */
-lttv_attributes *attributes_global;
+
static
lttv_attributes *attributes_global;
static lttv_hooks
*hooks_init_after,
static lttv_hooks
*hooks_init_after,
@@
-121,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);
void lttv_module_option(void *hook_data)
{
lttv_module_load(aModule,aArgc,aArgv,STANDALONE);
This page took
0.022573 seconds
and
4
git commands to generate.