summaryrefslogtreecommitdiffstats
path: root/parse.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-09-19 10:29:24 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-09-19 10:29:24 +0000
commit3e8ba29e5cf041b9056b7a14f0000a9c1557fed0 (patch)
tree656ff16e27b6d43408daea9052819385b32b19aa /parse.h
parente34ca1e7d952906fd2593850e3be47252211649c (diff)
downloadrsyslog-3e8ba29e5cf041b9056b7a14f0000a9c1557fed0.tar.gz
rsyslog-3e8ba29e5cf041b9056b7a14f0000a9c1557fed0.tar.xz
rsyslog-3e8ba29e5cf041b9056b7a14f0000a9c1557fed0.zip
added parsing of property-filter (but not complete property selector line
yet)
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index 201c1a64..f5207d42 100644
--- a/parse.h
+++ b/parse.h
@@ -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