summaryrefslogtreecommitdiffstats
path: root/obj.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-07 08:38:14 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-07 08:38:14 +0000
commitc8b946aa94251a93fc934d8e3e875f5f26fcfcfd (patch)
treefc12576f960b4b7786e28852282dd1a6a110b05c /obj.h
parent7b7ac189f8f914def4b29322e72372c689c7fcb2 (diff)
downloadrsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.tar.gz
rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.tar.xz
rsyslog-c8b946aa94251a93fc934d8e3e875f5f26fcfcfd.zip
performance-tuned stringbuf class
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/obj.h b/obj.h
index 09919e2d..6c5fbd12 100644
--- a/obj.h
+++ b/obj.h
@@ -100,7 +100,7 @@ finalize_it: \
/* prototypes */
rsRetVal objInfoConstruct(objInfo_t **ppThis, objID_t objID, uchar *pszName, int iObjVers, rsRetVal (*pDestruct)(void *));
rsRetVal objInfoSetMethod(objInfo_t *pThis, objMethod_t objMethod, rsRetVal (*pHandler)(void*));
-rsRetVal objBeginSerialize(rsCStrObj **ppCStr, obj_t *pObj);
+rsRetVal objBeginSerialize(rsCStrObj **ppCStr, obj_t *pObj, size_t iExpectedObjSize);
rsRetVal objSerializePsz(rsCStrObj *pCStr, uchar *psz, size_t len);
rsRetVal objEndSerialize(rsCStrObj **ppCStr, obj_t *pObj);
rsRetVal objSerializeProp(rsCStrObj *pCStr, uchar *pszPropName, propertyType_t propType, void *pUsr);