multiple traces/tracefiles change
[lttv.git] / ltt / branches / poly / include / lttv / module.h
index 6a0a45fba35fb64f58c76bc77ab2911266d20fb6..39319151f8184bc5fbd0ddc745d96ade65a8db46 100644 (file)
@@ -1,3 +1,21 @@
+/* This file is part of the Linux Trace Toolkit viewer
+ * Copyright (C) 2003-2004 Michel Dagenais
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License Version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, 
+ * MA 02111-1307, USA.
+ */
+
 #ifndef MODULES_H
 #define MODULES_H
 
@@ -24,7 +42,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 +84,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
This page took 0.038142 seconds and 4 git commands to generate.