diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-21 07:00:29 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-21 07:00:29 +0000 |
commit | 013073f1a6f1ed2230feaba0865d0c14212577d0 (patch) | |
tree | 5dd528a004f730658f16a012c66726417ff750d3 /obj.c | |
parent | 44bb5af7ccef417a1d088527fc02af5f0e8d3dc5 (diff) | |
download | rsyslog-013073f1a6f1ed2230feaba0865d0c14212577d0.tar.gz rsyslog-013073f1a6f1ed2230feaba0865d0c14212577d0.tar.xz rsyslog-013073f1a6f1ed2230feaba0865d0c14212577d0.zip |
changed rsCStrObj name to cstr_t, which is more inline with the rest of
rsyslog (now) and also much easier to type
Diffstat (limited to 'obj.c')
-rw-r--r-- | obj.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -257,8 +257,8 @@ rsRetVal objSerializeProp(strm_t *pStrm, uchar *pszPropName, varType_t propType, lenBuf = strlen((char*) szBuf); break; case VARTYPE_CSTR: - pszBuf = rsCStrGetSzStrNoNULL((rsCStrObj *) pUsr); - lenBuf = rsCStrLen((rsCStrObj*) pUsr); + pszBuf = rsCStrGetSzStrNoNULL((cstr_t *) pUsr); + lenBuf = rsCStrLen((cstr_t*) pUsr); break; case VARTYPE_SYSLOGTIME: lenBuf = snprintf((char*) szBuf, sizeof(szBuf), "%d:%d:%d:%d:%d:%d:%d:%d:%d:%c:%d:%d", @@ -353,12 +353,12 @@ finalize_it: /* de-serialize a string, length must be provided */ -static rsRetVal objDeserializeStr(rsCStrObj **ppCStr, int iLen, strm_t *pStrm) +static rsRetVal objDeserializeStr(cstr_t **ppCStr, int iLen, strm_t *pStrm) { DEFiRet; int i; uchar c; - rsCStrObj *pCStr = NULL; + cstr_t *pCStr = NULL; assert(ppCStr != NULL); assert(iLen > 0); |