summaryrefslogtreecommitdiffstats
path: root/module-template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-17 11:52:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-17 11:52:10 +0000
commit9088ee33893803cc47a69ba671ebfe10cc09c95b (patch)
treee0889ed5bb7dc349eff57d0af1a21c5a81c86218 /module-template.h
parent369b0ebd927545b9a9e4be211580ce6e0d77284d (diff)
downloadrsyslog-9088ee33893803cc47a69ba671ebfe10cc09c95b.tar.gz
rsyslog-9088ee33893803cc47a69ba671ebfe10cc09c95b.tar.xz
rsyslog-9088ee33893803cc47a69ba671ebfe10cc09c95b.zip
begun imklog, replacing klogd.c (finally we get rid of it...)
Diffstat (limited to 'module-template.h')
-rw-r--r--module-template.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/module-template.h b/module-template.h
index 4dbb5a2c..96af4d83 100644
--- a/module-template.h
+++ b/module-template.h
@@ -32,8 +32,13 @@
/* macro to define standard output-module static data members
*/
-#define DEF_OMOD_STATIC_DATA \
+#define DEF_MOD_STATIC_DATA \
static rsRetVal (*omsdRegCFSLineHdlr)();
+#define DEF_OMOD_STATIC_DATA \
+ DEF_MOD_STATIC_DATA
+#define DEF_IMOD_STATIC_DATA \
+ DEF_MOD_STATIC_DATA
+
/* Macro to define the module type. Each module can only have a single type. If
* a module provides multiple types, several separate modules must be created which