From 6e2c5057684a191c565220e6e41e561305b3a6ba Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 26 Jul 2007 12:47:09 +0000 Subject: - changed doAction() interface to contain the full message string - f_iov and its handling has been removed --- module-template.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module-template.h') diff --git a/module-template.h b/module-template.h index c8f1e79e..2d34893e 100644 --- a/module-template.h +++ b/module-template.h @@ -89,12 +89,13 @@ static rsRetVal isCompatibleWithFeature(syslogFeature __attribute__((unused)) eF /* doAction() */ #define BEGINdoAction \ -static rsRetVal doAction(selector_t *f, instanceData __attribute__((unused)) *pData)\ +static rsRetVal doAction(selector_t *f, uchar __attribute__((unused)) *pMsg, instanceData __attribute__((unused)) *pData)\ {\ rsRetVal iRet = RS_RET_OK; #define CODESTARTdoAction \ - assert(f != NULL); + assert(f != NULL);\ + assert(pMsg != NULL); #define ENDdoAction \ return iRet;\ -- cgit