diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-27 17:11:41 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-27 17:11:41 +0200 |
commit | 5cd3cdf3c82ef49506124ace13d20c52afd5d44a (patch) | |
tree | 5d510436b780c30757378bbc70b8f8024db38f4b /runtime/modules.h | |
parent | 4f8457ffe3bc0a104a86ac79622844c4206adbbb (diff) | |
download | rsyslog-5cd3cdf3c82ef49506124ace13d20c52afd5d44a.tar.gz rsyslog-5cd3cdf3c82ef49506124ace13d20c52afd5d44a.tar.xz rsyslog-5cd3cdf3c82ef49506124ace13d20c52afd5d44a.zip |
step: config-specific module list used during config processing
Diffstat (limited to 'runtime/modules.h')
-rw-r--r-- | runtime/modules.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/modules.h b/runtime/modules.h index 4da8c7a6..37a73ecd 100644 --- a/runtime/modules.h +++ b/runtime/modules.h @@ -159,7 +159,7 @@ struct modInfo_s { /* interfaces */ BEGINinterface(module) /* name must also be changed in ENDinterface macro! */ modInfo_t *(*GetNxt)(modInfo_t *pThis); - modInfo_t *(*GetNxtType)(modInfo_t *pThis, eModType_t rqtdType); + modInfo_t *(*GetNxtCnfType)(rsconf_t *cnf, modInfo_t *pThis, eModType_t rqtdType); uchar *(*GetName)(modInfo_t *pThis); uchar *(*GetStateName)(modInfo_t *pThis); rsRetVal (*Use)(char *srcFile, modInfo_t *pThis); /**< must be called before a module is used (ref counting) */ @@ -172,7 +172,9 @@ BEGINinterface(module) /* name must also be changed in ENDinterface macro! */ ENDinterface(module) #define moduleCURR_IF_VERSION 2 /* increment whenever you change the interface structure! */ /* Changes: - * v2 - added param bCondLoad to Load call - 2011-04-27 + * v2 + * - added param bCondLoad to Load call - 2011-04-27 + * - removed GetNxtType, added GetNxtCnfType - 2011-04-27 */ /* prototypes */ |