summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-04 10:23:53 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-04 10:23:53 +0000
commit42b3a7a4356006ce64413ef3583f9cae6d27966b (patch)
tree06a27c491c49a373877ab14fc0bd80668b217c81 /parse.c
parentea0d1c36e24db522dc805edf0b42ffe4372dbff8 (diff)
downloadrsyslog-42b3a7a4356006ce64413ef3583f9cae6d27966b.tar.gz
rsyslog-42b3a7a4356006ce64413ef3583f9cae6d27966b.tar.xz
rsyslog-42b3a7a4356006ce64413ef3583f9cae6d27966b.zip
cleaned up some issues with $FileCreateMode
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index bf92e00b..0b26b0a2 100644
--- a/parse.c
+++ b/parse.c
@@ -467,6 +467,14 @@ char parsPeekAtCharAtParsPtr(rsParsObj *pThis)
return(*(pThis->pCStr->pBuf + pThis->iCurrPos));
}
+/* return the current position inside the parse object.
+ * rgerhards, 2007-07-04
+ */
+int parsGetCurrentPosition(rsParsObj *pThis)
+{
+ return pThis->iCurrPos;
+}
+
/*
* Local variables: