summaryrefslogtreecommitdiffstats
path: root/module-template.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-10 14:27:26 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-10 14:27:26 +0000
commit28c44e9a7bf4f99279af94a96bac42d0379b27d0 (patch)
tree7f66af0893f092d3212e3e34218d41973a3fe2cc /module-template.h
parent4c24b427954166689b58562d68fefcfda7439ace (diff)
downloadrsyslog-28c44e9a7bf4f99279af94a96bac42d0379b27d0.tar.gz
rsyslog-28c44e9a7bf4f99279af94a96bac42d0379b27d0.tar.xz
rsyslog-28c44e9a7bf4f99279af94a96bac42d0379b27d0.zip
- fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1a
was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool
Diffstat (limited to 'module-template.h')
-rw-r--r--module-template.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/module-template.h b/module-template.h
index 3b6ebb69..ecd6fe6d 100644
--- a/module-template.h
+++ b/module-template.h
@@ -334,8 +334,6 @@ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)())\
CODEqueryEtryPt_STD_MOD_QUERIES \
else if(!strcmp((char*) name, "runInput")) {\
*pEtryPoint = runInput;\
- } else if(!strcmp((char*) name, "getTermSyncType")) {\
- *pEtryPoint = modGetTermSyncType;\
} else if(!strcmp((char*) name, "willRun")) {\
*pEtryPoint = willRun;\
} else if(!strcmp((char*) name, "afterRun")) {\
@@ -471,16 +469,6 @@ static rsRetVal afterRun(void)\
}
-/* method to return which termination sync method is used by this module.
- */
-#define TERM_SYNC_TYPE(x) \
-static rsRetVal modGetTermSyncType(eTermSyncType_t *pTermSync)\
-{\
- assert(pTermSync != NULL); \
- *pTermSync = (x);\
- return RS_RET_OK;\
-}
-
/*
* vi:set ai:
*/