X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Finclude%2Flttv%2Fmodule.h;h=47f4d16bac8090b31b756a75a796e982ffcfa6b6;hb=716e4367df9c21316d326ee18b703cd0d25ace74;hp=6a0a45fba35fb64f58c76bc77ab2911266d20fb6;hpb=dc87756342c051418eccb2b7d932ffa5453c6788;p=lttv.git diff --git a/ltt/branches/poly/include/lttv/module.h b/ltt/branches/poly/include/lttv/module.h index 6a0a45fb..47f4d16b 100644 --- a/ltt/branches/poly/include/lttv/module.h +++ b/ltt/branches/poly/include/lttv/module.h @@ -24,7 +24,7 @@ typedef struct _LttvModule LttvModule; -typedef void (*LttvModuleInit)(int argc, char **argv); +typedef void (*LttvModuleInit)(LttvModule *self, int argc, char **argv); typedef void (*LttvModuleDestroy)(); @@ -66,4 +66,5 @@ LttvModule **lttv_module_list(guint *nb); LttvModule **lttv_module_info(LttvModule *m, const char **name, guint *ref_count, guint *load_count, guint *nb_dependents); +char * lttv_module_name(LttvModule *m); #endif // MODULES_H