summaryrefslogtreecommitdiffstats
path: root/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-31 13:02:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-31 13:02:23 +0000
commit48fd0e472a75a32e70fa1938c2279cf730282370 (patch)
treed009cb0f3e3b1c3d733b1d816b1413af3cb356c2 /omfile.c
parent19e94f195997a4907f96b5d53e88c2f5c44b08e0 (diff)
downloadrsyslog-48fd0e472a75a32e70fa1938c2279cf730282370.tar.gz
rsyslog-48fd0e472a75a32e70fa1938c2279cf730282370.tar.xz
rsyslog-48fd0e472a75a32e70fa1938c2279cf730282370.zip
- changed modInit() interface to contain pointer to host-function query
method
Diffstat (limited to 'omfile.c')
-rw-r--r--omfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/omfile.c b/omfile.c
index 618e9b98..a5b7d6b2 100644
--- a/omfile.c
+++ b/omfile.c
@@ -53,6 +53,8 @@
/* internal structures
*/
+DEF_OMOD_STATIC_DATA
+
typedef struct _instanceData {
char f_fname[MAXFNAME];/* file or template name (display only) */
short fd; /* file descriptor for (current) file */
@@ -713,6 +715,7 @@ ENDqueryEtryPt
BEGINmodInit(File)
CODESTARTmodInit
*ipIFVersProvided = 1; /* so far, we only support the initial definition */
+CODEmodInit_QueryRegCFSLineHdlr
ENDmodInit
/*