required module for textDump : batchAnalysis
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 1 Oct 2003 02:44:57 +0000 (02:44 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 1 Oct 2003 02:44:57 +0000 (02:44 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@286 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/textDump.c

index 797e7a12429e8d602257b3eeefffe80a1de8af43..ccc69c07f6aae270bdaf6fa98df3e1d6ce472443 100644 (file)
@@ -196,13 +196,22 @@ static int write_event_content(void *hook_data, void *call_data)
 }
 
 
-//void init(int argc, char **argv)
 G_MODULE_EXPORT void init(LttvModule *self, int argc, char **argv)
 {
   LttvAttributeValue value;
 
   LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
 
+  LttvModule *batchAnalysis  =
+         lttv_module_require(self, "batchAnalysis", argc, argv);
+
+  if(batchAnalysis == NULL)
+  {
+    g_error("Can't load required module batchAnalysis");
+    return;
+  }
+       
+  
   a_string = g_string_new("");
 
   a_file_name = NULL;
This page took 0.02331 seconds and 4 git commands to generate.