summaryrefslogtreecommitdiffstats
path: root/obj.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-21 07:00:29 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-21 07:00:29 +0000
commit013073f1a6f1ed2230feaba0865d0c14212577d0 (patch)
tree5dd528a004f730658f16a012c66726417ff750d3 /obj.c
parent44bb5af7ccef417a1d088527fc02af5f0e8d3dc5 (diff)
downloadrsyslog-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/obj.c b/obj.c
index 417ca4ca..624cb58c 100644
--- a/obj.c
+++ b/obj.c
@@ -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);