summaryrefslogtreecommitdiffstats
path: root/module-template.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 /module-template.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 'module-template.h')
-rw-r--r--module-template.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/module-template.h b/module-template.h
index 900ee3aa..8b6bedde 100644
--- a/module-template.h
+++ b/module-template.h
@@ -188,28 +188,6 @@ static rsRetVal dbgPrintInstInfo(void *pModData)\
}
-/* needUDPSocket()
- * Talks back to syslogd if the global UDP syslog socket is needed for
- * sending. Returns 0 if not, 1 if needed. This interface hopefully goes
- * away at some time, because it is kind of a hack. However, currently
- * there is no way around it, so we need to support it.
- * rgerhards, 2007-07-26
- */
-#define BEGINneedUDPSocket \
-static rsRetVal needUDPSocket(void *pModData)\
-{\
- rsRetVal iRet = RS_RET_FALSE;\
- instanceData *pData = NULL; \
- BEGINfunc
-
-#define CODESTARTneedUDPSocket \
- pData = (instanceData*) pModData;
-
-#define ENDneedUDPSocket \
- RETiRet;\
-}
-
-
/* parseSelectorAct()
* Extra comments:
* try to process a selector action line. Checks if the action
@@ -337,8 +315,6 @@ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)())\
*pEtryPoint = parseSelectorAct;\
} else if(!strcmp((char*) name, "isCompatibleWithFeature")) {\
*pEtryPoint = isCompatibleWithFeature;\
- } else if(!strcmp((char*) name, "needUDPSocket")) {\
- *pEtryPoint = needUDPSocket;\
} else if(!strcmp((char*) name, "tryResume")) {\
*pEtryPoint = tryResume;\
}