summaryrefslogtreecommitdiff
path: root/modules.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2008-03-29 12:14:28 +0100
committerMichael Biebl <biebl@debian.org>2008-03-29 12:14:28 +0100
commit1ff3d60958bd7f477cf3dfaf8b20a4637109c18f (patch)
tree723d3d56a0e1305aafb8b41c0a32a05ca5b21179 /modules.h
parent42b56a64a53e45546f8cca2084911c3495e7fbb6 (diff)
downloadrsyslog-1ff3d60958bd7f477cf3dfaf8b20a4637109c18f.tar.gz
Imported Debian patch 1.19.1-1debian/1.19.1-1
Diffstat (limited to 'modules.h')
-rw-r--r--modules.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules.h b/modules.h
index 0fda461..3f008a6 100644
--- a/modules.h
+++ b/modules.h
@@ -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 */
/*