From 545346e697fe930b8b7b9bd0ede47890b26a4832 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 5 Mar 2008 10:30:06 +0000 Subject: - changed modules.c calling conventions to be interface-based - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far) --- plugins/imfile/imfile.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'plugins/imfile/imfile.c') diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index c13e96e9..14d6cf3f 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -69,13 +69,6 @@ static int iFilPtr = 0; /* number of files to be monitored; pointer to next fre #define MAX_INPUT_FILES 100 static fileInfo_t files[MAX_INPUT_FILES]; -/* instanceData must be defined to keep the framework happy, but it currently - * is of no practical use. This may change in later revisions of the plugin - * interface. - */ -typedef struct _instanceData { -} instanceData; - /* enqueue the read file line as a message */ @@ -349,16 +342,6 @@ ENDafterRun * In general, they need to be present, but you do NOT need to provide * any code here. */ -BEGINfreeInstance -CODESTARTfreeInstance -ENDfreeInstance - - -BEGINdbgPrintInstInfo -CODESTARTdbgPrintInstInfo -ENDdbgPrintInstInfo - - BEGINmodExit CODESTARTmodExit ENDmodExit -- cgit v1.2.3