summaryrefslogtreecommitdiffstats
path: root/stringbuf.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-24 17:53:16 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-24 17:53:16 +0000
commit965c09147c8f87e4ed6ece46b9d54e612e35cf11 (patch)
treefb8a7f782c0d2b07c6413a13aa9cc70b7f3404fa /stringbuf.h
parent79ca6100e64b3fff6f52444f121ee1f7642a7b04 (diff)
downloadrsyslog-965c09147c8f87e4ed6ece46b9d54e612e35cf11.tar.gz
rsyslog-965c09147c8f87e4ed6ece46b9d54e612e35cf11.tar.xz
rsyslog-965c09147c8f87e4ed6ece46b9d54e612e35cf11.zip
- added some thoughts on RainerScript
- worked a bit on conversion functions
Diffstat (limited to 'stringbuf.h')
-rwxr-xr-xstringbuf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stringbuf.h b/stringbuf.h
index 02720c2a..d8e72999 100755
--- a/stringbuf.h
+++ b/stringbuf.h
@@ -138,7 +138,8 @@ int rsCStrLocateInSzStr(cstr_t *pThis, uchar *sz);
int rsCStrStartsWithSzStr(cstr_t *pCS1, uchar *psz, size_t iLenSz);
int rsCStrSzStrStartsWithCStr(cstr_t *pCS1, uchar *psz, size_t iLenSz);
int rsCStrSzStrMatchRegex(cstr_t *pCS1, uchar *psz);
-int rsCStrCanConvertToNumber(cstr_t *pStr);
+rsRetVal rsCStrConvertToNumber(cstr_t *pStr, number_t *pNumber);
+rsRetVal rsCStrConvertToBool(cstr_t *pStr, number_t *pBool);
/* now come inline-like functions */
#ifdef NDEBUG