summaryrefslogtreecommitdiffstats
path: root/runtime/obj.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-03 13:27:27 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-03 13:27:27 +0100
commitc28d92259b27eebca3892b9ad18d467691e5aacc (patch)
treea6dd9a87131aa17f8b82d2285691bc196118f49a /runtime/obj.h
parentf88d4f76f69f52918726eb91a2ce06a163cbf0c6 (diff)
downloadrsyslog-c28d92259b27eebca3892b9ad18d467691e5aacc.tar.gz
rsyslog-c28d92259b27eebca3892b9ad18d467691e5aacc.tar.bz2
rsyslog-c28d92259b27eebca3892b9ad18d467691e5aacc.zip
queue: use specific deserializer for msg object
spares lengthy table lookups
Diffstat (limited to 'runtime/obj.h')
-rw-r--r--runtime/obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/obj.h b/runtime/obj.h
index 19ccbd31..dbc2f69b 100644
--- a/runtime/obj.h
+++ b/runtime/obj.h
@@ -85,7 +85,6 @@
#endif
#define objDestruct(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_DESTRUCT])(&pThis)
#define objSerialize(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_SERIALIZE])
-#define objDebugPrint(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_DEBUGPRINT])(pThis)
#define OBJSetMethodHandler(methodID, pHdlr) \
CHKiRet(obj.InfoSetMethod(pObjInfoOBJ, methodID, (rsRetVal (*)(void*)) pHdlr))
@@ -120,6 +119,7 @@ ENDinterface(obj)
rsRetVal objGetObjInterface(obj_if_t *pIf);
PROTOTYPEObjClassInit(obj);
PROTOTYPEObjClassExit(obj);
+rsRetVal objDeserializeWithMethods(void *ppObj, uchar *pszTypeExpected, strm_t *pStrm, rsRetVal (*fFixup)(obj_t*,void*), void *pUsr, rsRetVal (*objConstruct)(), rsRetVal (*objConstructFinalize)(), rsRetVal (*objSetProperty)());
/* the following definition is only for "friends" */