summaryrefslogtreecommitdiffstats
path: root/modules.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-22 10:30:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-22 10:30:40 +0000
commitcdcc0e6710a7e11bf1c528bf1728f886dba5a0af (patch)
treeed552b2bd803de0bec3602489c5b508bba07555e /modules.h
parentfd7e1fc72e81dc366eae70171bb8d68685121c62 (diff)
downloadrsyslog-cdcc0e6710a7e11bf1c528bf1728f886dba5a0af.tar.gz
rsyslog-cdcc0e6710a7e11bf1c528bf1728f886dba5a0af.tar.xz
rsyslog-cdcc0e6710a7e11bf1c528bf1728f886dba5a0af.zip
removed a now-longer needed callback from the output module interface.
Results in reducing code complexity.
Diffstat (limited to 'modules.h')
-rw-r--r--modules.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.h b/modules.h
index 7efe01f8..a8371d05 100644
--- a/modules.h
+++ b/modules.h
@@ -43,8 +43,9 @@
* and does not intend to do specific old-version emulations.
* rgerhards, 2008-03-04
* version 3 adds modInfo_t ptr to call of modInit -- rgerhards, 2008-03-10
+ * version 4 removes needUDPSocket OM callback -- rgerhards, 2008-03-22
*/
-#define CURR_MOD_IF_VERSION 3
+#define CURR_MOD_IF_VERSION 4
typedef enum eModType_ {
eMOD_IN, /* input module */
@@ -83,7 +84,6 @@ typedef struct modInfo_s {
rsRetVal (*modQueryEtryPt)(uchar *name, rsRetVal (**EtryPoint)()); /* query entry point addresses */
rsRetVal (*isCompatibleWithFeature)(syslogFeature);
rsRetVal (*freeInstance)(void*);/* called before termination or module unload */
- rsRetVal (*needUDPSocket)(void*);/* called when fd is writeable after select() */
rsRetVal (*dbgPrintInstInfo)(void*);/* called before termination or module unload */
rsRetVal (*tryResume)(void*);/* called to see if module actin can be resumed now */
rsRetVal (*modExit)(void); /* called before termination or module unload */