From 36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 25 Jul 2007 10:52:47 +0000 Subject: added new function dbgPrintInstInfo() to omod interface --- modules.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules.c') diff --git a/modules.c b/modules.c index 0096cfbc..db79e4ef 100644 --- a/modules.c +++ b/modules.c @@ -175,6 +175,11 @@ rsRetVal doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)()), uchar *name) moduleDestruct(pNew); return iRet; } + if((iRet = (*pNew->modQueryEtryPt)((uchar*)"dbgPrintInstInfo", + &pNew->dbgPrintInstInfo)) != RS_RET_OK) { + moduleDestruct(pNew); + return iRet; + } if((iRet = (*pNew->modQueryEtryPt)((uchar*)"freeInstance", &pNew->freeInstance)) != RS_RET_OK) { moduleDestruct(pNew); return iRet; @@ -218,6 +223,7 @@ void modPrintList(void) dprintf("\tqueryEtryPt: 0x%x\n", (unsigned) pMod->modQueryEtryPt); dprintf("\tdoAction: 0x%x\n", (unsigned) pMod->mod.om.doAction); dprintf("\tparseSelectorAct: 0x%x\n", (unsigned) pMod->mod.om.parseSelectorAct); + dprintf("\tdbgPrintInstInfo: 0x%x\n", (unsigned) pMod->dbgPrintInstInfo); dprintf("\tfreeInstance: 0x%x\n", (unsigned) pMod->freeInstance); dprintf("\n"); pMod = modGetNxt(pMod); /* done, go next */ -- cgit