diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-09-19 10:29:24 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-09-19 10:29:24 +0000 |
commit | 3e8ba29e5cf041b9056b7a14f0000a9c1557fed0 (patch) | |
tree | 656ff16e27b6d43408daea9052819385b32b19aa /parse.h | |
parent | e34ca1e7d952906fd2593850e3be47252211649c (diff) | |
download | rsyslog-3e8ba29e5cf041b9056b7a14f0000a9c1557fed0.tar.gz rsyslog-3e8ba29e5cf041b9056b7a14f0000a9c1557fed0.tar.bz2 rsyslog-3e8ba29e5cf041b9056b7a14f0000a9c1557fed0.zip |
added parsing of property-filter (but not complete property selector line
yet)
Diffstat (limited to 'parse.h')
-rw-r--r-- | parse.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -46,6 +46,7 @@ typedef struct rsParsObject rsParsObj; * Construct a rsPars object. */ rsRetVal rsParsConstruct(rsParsObj **ppThis); +rsRetVal rsParsAssignString(rsParsObj *pThis, rsCStrObj *pCStr); /* parse an integer. The parse pointer is advanced */ rsRetVal parsInt(rsParsObj *pThis, int* pInt); @@ -67,6 +68,8 @@ rsRetVal parsSkipWhitespace(rsParsObj *pThis); */ rsRetVal parsDelimCStr(rsParsObj *pThis, rsCStrObj **ppCStr, char cDelim, int bTrimLeading, int bTrimTrailing); +rsRetVal parsSkipAfterChar(rsParsObj *pThis, char c); +rsRetVal parsQuotedCStr(rsParsObj *pThis, rsCStrObj **ppCStr); #if 0 /* later! */ /* Parse a property * This is a complex parsing routine. It parses an property |