summaryrefslogtreecommitdiffstats
path: root/stringbuf.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 /stringbuf.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 'stringbuf.h')
-rwxr-xr-xstringbuf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/stringbuf.h b/stringbuf.h
index 1e2f5515..80eff56d 100755
--- a/stringbuf.h
+++ b/stringbuf.h
@@ -30,7 +30,6 @@ struct rsCStrObject
char *pBuf; /**< pointer to the string buffer, may be NULL if string is empty */
char *pszBuf; /**< pointer to the sz version of the string (after it has been created )*/
int iBufSize; /**< current maximum size of the string buffer */
- int iBufPtr; /**< pointer (index) of next character position to be written to. */
int iStrLen; /**< length of the string in characters. */
int iAllocIncrement; /**< the amount of bytes the string should be expanded if it needs to */
};
@@ -101,7 +100,10 @@ void rsCStrSetAllocIncrement(rsCStrObj *pThis, int iNewIncrement);
rsRetVal rsCStrAppendInt(rsCStrObj *pThis, int i);
+char* rsCStrGetSzStr(rsCStrObj *pThis);
char* rsCStrConvSzStrAndDestruct(rsCStrObj *pThis);
+int rsCStrCStrCmp(rsCStrObj *pCS1, rsCStrObj *pCS2);
+int rsCStrSzCmp(rsCStrObj *pCStr, char *sz);
/* now come inline-like functions */
#ifdef NDEBUG