diff options
author | Michael Biebl <biebl@debian.org> | 2008-03-29 12:14:28 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2008-03-29 12:14:28 +0100 |
commit | 1ff3d60958bd7f477cf3dfaf8b20a4637109c18f (patch) | |
tree | 723d3d56a0e1305aafb8b41c0a32a05ca5b21179 /modules.h | |
parent | 42b56a64a53e45546f8cca2084911c3495e7fbb6 (diff) | |
download | rsyslog-1ff3d60958bd7f477cf3dfaf8b20a4637109c18f.tar.gz |
Imported Debian patch 1.19.1-1debian/1.19.1-1
Diffstat (limited to 'modules.h')
-rw-r--r-- | modules.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -84,15 +84,17 @@ typedef struct moduleInfo { rsRetVal (*parseSelectorAct)(uchar**, void**,omodStringRequest_t**); } om; } mod; + void *pModHdlr; /* handler to the dynamic library holding the module */ } modInfo_t; /* prototypes */ -rsRetVal doModInit(rsRetVal (*modInit)(), uchar *name); +rsRetVal doModInit(rsRetVal (*modInit)(), uchar *name, void *pModHdlr); modInfo_t *omodGetNxt(modInfo_t *pThis); uchar *modGetName(modInfo_t *pThis); uchar *modGetStateName(modInfo_t *pThis); void modPrintList(void); rsRetVal modUnloadAndDestructAll(void); +rsRetVal modUnloadAndDestructDynamic(void); #endif /* #ifndef MODULES_H_INCLUDED */ /* |