diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-14 14:18:36 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-14 14:18:36 +0000 |
commit | 3a40f52f897e8e3ef7fa665504fbbe557420fb59 (patch) | |
tree | f591bf82de68d0242b6157beb894e85f47fdad6e /obj.h | |
parent | 1b4a1902031babbb3907cd0e73d86c1fa0da0a3d (diff) | |
download | rsyslog-3a40f52f897e8e3ef7fa665504fbbe557420fb59.tar.gz rsyslog-3a40f52f897e8e3ef7fa665504fbbe557420fb59.tar.bz2 rsyslog-3a40f52f897e8e3ef7fa665504fbbe557420fb59.zip |
implemented $MainMsgQueueDiscardMar and $MainMsgQueueDiscardSeverity (but
serverity needs to be specified numerically for the time being)
Diffstat (limited to 'obj.h')
-rw-r--r-- | obj.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -80,6 +80,7 @@ #endif #define objDestruct(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_DESTRUCT])(pThis) #define objSerialize(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_SERIALIZE]) +#define objGetSeverity(pThis, piSever) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_GETSEVERITY])(pThis, piSever) #define OBJSetMethodHandler(methodID, pHdlr) \ CHKiRet(objInfoSetMethod(pObjInfoOBJ, methodID, (rsRetVal (*)(void*)) pHdlr)) |