From 4884ef844c8f5c4c6e61fca17a3edeca95cdb03c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 14 Aug 2007 07:57:15 +0000 Subject: - integrated patch from varmojfekoj to make the mysql module a loadable one many thanks for the patch, MUCH appreciated --- modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules.h') diff --git a/modules.h b/modules.h index 0fda461a..c13d2a6c 100644 --- a/modules.h +++ b/modules.h @@ -84,10 +84,11 @@ 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); -- cgit