diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 15:01:49 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 15:01:49 +0000 |
commit | a244eb773908fa1f86a61ab52f2cad6224017e88 (patch) | |
tree | c4f2adf014a6778eca6b4df32964ecadd42c9ee4 /obj.h | |
parent | 28c44e9a7bf4f99279af94a96bac42d0379b27d0 (diff) | |
download | rsyslog-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) \ |