summaryrefslogtreecommitdiffstats
path: root/parse.h
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 /parse.h
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 'parse.h')
-rw-r--r--parse.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse.h b/parse.h
index f3a064d1..483c109b 100644
--- a/parse.h
+++ b/parse.h
@@ -56,7 +56,7 @@ struct rsParsObject
#ifndef NDEBUG
rsObjID OID; /**< object ID */
#endif
- rsCStrObj *pCStr; /**< pointer to the string object we are parsing */
+ cstr_t *pCStr; /**< pointer to the string object we are parsing */
int iCurrPos; /**< current parsing position (char offset) */
};
typedef struct rsParsObject rsParsObj;
@@ -71,7 +71,7 @@ int rsParsGetParsePointer(rsParsObj *pThis);
* Construct a rsPars object.
*/
rsRetVal rsParsConstruct(rsParsObj **ppThis);
-rsRetVal rsParsAssignString(rsParsObj *pThis, rsCStrObj *pCStr);
+rsRetVal rsParsAssignString(rsParsObj *pThis, cstr_t *pCStr);
/* parse an integer. The parse pointer is advanced */
rsRetVal parsInt(rsParsObj *pThis, int* pInt);
@@ -91,10 +91,10 @@ rsRetVal parsSkipWhitespace(rsParsObj *pThis);
* Output:
* ppCStr Pointer to the parsed string
*/
-rsRetVal parsDelimCStr(rsParsObj *pThis, rsCStrObj **ppCStr, char cDelim, int bTrimLeading, int bTrimTrailing);
+rsRetVal parsDelimCStr(rsParsObj *pThis, cstr_t **ppCStr, char cDelim, int bTrimLeading, int bTrimTrailing);
rsRetVal parsSkipAfterChar(rsParsObj *pThis, char c);
-rsRetVal parsQuotedCStr(rsParsObj *pThis, rsCStrObj **ppCStr);
+rsRetVal parsQuotedCStr(rsParsObj *pThis, cstr_t **ppCStr);
rsRetVal rsParsConstructFromSz(rsParsObj **ppThis, unsigned char *psz);
rsRetVal rsParsDestruct(rsParsObj *pThis);
int parsIsAtEndOfParseString(rsParsObj *pThis);