diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-09 17:25:07 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-09 17:25:07 +0000 |
commit | aa7e00d8e1a1d67fa2860623ffab75bd387faffc (patch) | |
tree | bf8d5fbf99050a010c1918d8a3a1168cdb43fe84 /obj.h | |
parent | fd8c6452c8a4d51d39eb511046fca09391138a22 (diff) | |
download | rsyslog-aa7e00d8e1a1d67fa2860623ffab75bd387faffc.tar.gz rsyslog-aa7e00d8e1a1d67fa2860623ffab75bd387faffc.tar.xz rsyslog-aa7e00d8e1a1d67fa2860623ffab75bd387faffc.zip |
changed queue class to use stream class
Diffstat (limited to 'obj.h')
-rw-r--r-- | obj.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -125,6 +125,16 @@ typedef struct serialStore_s { if(pThis != NULL) \ free(pThis); \ } + +#define DEFpropSetMeth(obj, prop, dataType)\ + rsRetVal obj##Set##prop(obj##_t *pThis, dataType pVal)\ + { \ + pThis->prop = pVal; \ + return RS_RET_OK; \ + } +#define PROTOTYPEpropSetMeth(obj, prop, dataType)\ + rsRetVal obj##Set##prop(obj##_t *pThis, dataType pVal) + #define objSerializeSCALAR(propName, propType) \ CHKiRet(objSerializeProp(pCStr, (uchar*) #propName, PROPTYPE_##propType, (void*) &pThis->propName)); #define objSerializePTR(propName, propType) \ |