summaryrefslogtreecommitdiffstats
path: root/obj.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-10 15:01:49 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-10 15:01:49 +0000
commita244eb773908fa1f86a61ab52f2cad6224017e88 (patch)
treec4f2adf014a6778eca6b4df32964ecadd42c9ee4 /obj.h
parent28c44e9a7bf4f99279af94a96bac42d0379b27d0 (diff)
downloadrsyslog-a244eb773908fa1f86a61ab52f2cad6224017e88.tar.gz
rsyslog-a244eb773908fa1f86a61ab52f2cad6224017e88.tar.xz
rsyslog-a244eb773908fa1f86a61ab52f2cad6224017e88.zip
- implemented strm object serializer (untested as the code required for
test is not yet present - hen/egg problem...)
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/obj.h b/obj.h
index e73e61f3..31a08004 100644
--- a/obj.h
+++ b/obj.h
@@ -59,6 +59,8 @@
free(pThis); \
}
+#define objSerializeSCALAR_VAR(strm, propName, propType, var) \
+ CHKiRet(objSerializeProp(strm, (uchar*) #propName, PROPTYPE_##propType, (void*) &var));
#define objSerializeSCALAR(strm, propName, propType) \
CHKiRet(objSerializeProp(strm, (uchar*) #propName, PROPTYPE_##propType, (void*) &pThis->propName));
#define objSerializePTR(strm, propName, propType) \