summaryrefslogtreecommitdiffstats
path: root/parse.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-16 13:11:06 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-16 13:11:06 +0000
commit7822caa94ad3b03f192bdad298b57f1bb2c50b4e (patch)
tree234fc681073152000f0f2b06e121ed5172b30bc2 /parse.h
parenta8c6819d7e1cc570a0c2c633d6b6bfa635685d23 (diff)
downloadrsyslog-7822caa94ad3b03f192bdad298b57f1bb2c50b4e.zip
rsyslog-7822caa94ad3b03f192bdad298b57f1bb2c50b4e.tar.gz
rsyslog-7822caa94ad3b03f192bdad298b57f1bb2c50b4e.tar.xz
fully integrated patch from mildew@gmail.com
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/parse.h b/parse.h
index 0a4d66f..b0dbd0f 100644
--- a/parse.h
+++ b/parse.h
@@ -78,10 +78,12 @@ rsRetVal parsSkipAfterChar(rsParsObj *pThis, char c);
rsRetVal parsQuotedCStr(rsParsObj *pThis, rsCStrObj **ppCStr);
rsRetVal rsParsConstructFromSz(rsParsObj **ppThis, unsigned char *psz);
rsRetVal rsParsDestruct(rsParsObj *pThis);
-rsRetVal parsAddrWithBits(rsParsObj *pThis, struct NetAddr **pIP, int *pBits);
int parsIsAtEndOfParseString(rsParsObj *pThis);
int parsGetCurrentPosition(rsParsObj *pThis);
char parsPeekAtCharAtParsPtr(rsParsObj *pThis);
+#ifdef SYSLOG_INET
+rsRetVal parsAddrWithBits(rsParsObj *pThis, struct NetAddr **pIP, int *pBits);
+#endif
#if 0 /* later! - but leave it in in case we need it some day... */
/* Parse a property