diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 10:52:47 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 10:52:47 +0000 |
commit | 36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5 (patch) | |
tree | 0dc4db7ed2fd7ffa5efba0c4ee246088a91ea2ab /modules.c | |
parent | a3192ac18ed9df7d95d0c8d5795994e867c85eca (diff) | |
download | rsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.tar.gz rsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.tar.xz rsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.zip |
added new function dbgPrintInstInfo() to omod interface
Diffstat (limited to 'modules.c')
-rw-r--r-- | modules.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |