summaryrefslogtreecommitdiffstats
path: root/obj.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-14 14:18:36 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-14 14:18:36 +0000
commit3a40f52f897e8e3ef7fa665504fbbe557420fb59 (patch)
treef591bf82de68d0242b6157beb894e85f47fdad6e /obj.h
parent1b4a1902031babbb3907cd0e73d86c1fa0da0a3d (diff)
downloadrsyslog-3a40f52f897e8e3ef7fa665504fbbe557420fb59.tar.gz
rsyslog-3a40f52f897e8e3ef7fa665504fbbe557420fb59.tar.xz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/obj.h b/obj.h
index acdbd24e..f4a9aee6 100644
--- a/obj.h
+++ b/obj.h
@@ -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))