diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-04 10:23:53 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-04 10:23:53 +0000 |
commit | 42b3a7a4356006ce64413ef3583f9cae6d27966b (patch) | |
tree | 06a27c491c49a373877ab14fc0bd80668b217c81 /parse.c | |
parent | ea0d1c36e24db522dc805edf0b42ffe4372dbff8 (diff) | |
download | rsyslog-42b3a7a4356006ce64413ef3583f9cae6d27966b.tar.gz rsyslog-42b3a7a4356006ce64413ef3583f9cae6d27966b.tar.bz2 rsyslog-42b3a7a4356006ce64413ef3583f9cae6d27966b.zip |
cleaned up some issues with $FileCreateMode
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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: |