diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-27 15:38:06 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-04-27 15:38:06 +0200 |
commit | 4f8457ffe3bc0a104a86ac79622844c4206adbbb (patch) | |
tree | 60d40415fa614018bc13e8eb93babcc593a10e58 /runtime/modules.h | |
parent | 17e3f6b49cccb99316f2907eb3c131ec998ee3c3 (diff) | |
download | rsyslog-4f8457ffe3bc0a104a86ac79622844c4206adbbb.tar.gz rsyslog-4f8457ffe3bc0a104a86ac79622844c4206adbbb.tar.xz rsyslog-4f8457ffe3bc0a104a86ac79622844c4206adbbb.zip |
step: added config-specific module list
Diffstat (limited to 'runtime/modules.h')
-rw-r--r-- | runtime/modules.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/modules.h b/runtime/modules.h index 08e0851c..4da8c7a6 100644 --- a/runtime/modules.h +++ b/runtime/modules.h @@ -166,11 +166,14 @@ BEGINinterface(module) /* name must also be changed in ENDinterface macro! */ rsRetVal (*Release)(char *srcFile, modInfo_t **ppThis); /**< release a module (ref counting) */ void (*PrintList)(void); rsRetVal (*UnloadAndDestructAll)(eModLinkType_t modLinkTypesToUnload); - rsRetVal (*doModInit)(rsRetVal (*modInit)(), uchar *name, void *pModHdlr); - rsRetVal (*Load)(uchar *name); + rsRetVal (*doModInit)(rsRetVal (*modInit)(), uchar *name, void *pModHdlr, modInfo_t **pNew); + rsRetVal (*Load)(uchar *name, sbool bConfLoad); rsRetVal (*SetModDir)(uchar *name); ENDinterface(module) -#define moduleCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */ +#define moduleCURR_IF_VERSION 2 /* increment whenever you change the interface structure! */ +/* Changes: + * v2 - added param bCondLoad to Load call - 2011-04-27 + */ /* prototypes */ PROTOTYPEObj(module); |