From 9402662db85a5ad444fde16c55c035f89a7115ed Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 1 Oct 2003 02:44:57 +0000 Subject: [PATCH] required module for textDump : batchAnalysis git-svn-id: http://ltt.polymtl.ca/svn@286 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/textDump.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/textDump.c b/ltt/branches/poly/lttv/textDump.c index 797e7a12..ccc69c07 100644 --- a/ltt/branches/poly/lttv/textDump.c +++ b/ltt/branches/poly/lttv/textDump.c @@ -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; -- 2.34.1