summaryrefslogtreecommitdiffstats
path: root/runtime/stream.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-02-28 16:23:18 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-02-28 16:23:18 +0100
commitc0f92325c634fd3d0482f5d8bdc6650ab725cce1 (patch)
tree87073391e08087a17d2088b14523cdb63e57b524 /runtime/stream.h
parentbf088c5c2ed06db1c765a96df3762a00ae44db9c (diff)
parent74a71e798efd58e20cc150b04de2613bf518eed4 (diff)
downloadrsyslog-c0f92325c634fd3d0482f5d8bdc6650ab725cce1.tar.gz
rsyslog-c0f92325c634fd3d0482f5d8bdc6650ab725cce1.tar.xz
rsyslog-c0f92325c634fd3d0482f5d8bdc6650ab725cce1.zip
Merge branch 'master' into master-tcpsrv-mt
Diffstat (limited to 'runtime/stream.h')
-rw-r--r--runtime/stream.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/stream.h b/runtime/stream.h
index 37e9d570..60c68cb2 100644
--- a/runtime/stream.h
+++ b/runtime/stream.h
@@ -156,7 +156,6 @@ BEGINinterface(strm) /* name must also be changed in ENDinterface macro! */
rsRetVal (*SetFileName)(strm_t *pThis, uchar *pszName, size_t iLenName);
rsRetVal (*ReadChar)(strm_t *pThis, uchar *pC);
rsRetVal (*UnreadChar)(strm_t *pThis, uchar c);
- rsRetVal (*ReadLine)(strm_t *pThis, cstr_t **ppCStr);
rsRetVal (*SeekCurrOffs)(strm_t *pThis);
rsRetVal (*Write)(strm_t *pThis, uchar *pBuf, size_t lenBuf);
rsRetVal (*WriteChar)(strm_t *pThis, uchar c);
@@ -183,8 +182,10 @@ BEGINinterface(strm) /* name must also be changed in ENDinterface macro! */
INTERFACEpropSetMeth(strm, iSizeLimit, off_t);
INTERFACEpropSetMeth(strm, iFlushInterval, int);
INTERFACEpropSetMeth(strm, pszSizeLimitCmd, uchar*);
+ /* v6 added */
+ rsRetVal (*ReadLine)(strm_t *pThis, cstr_t **ppCStr, int mode);
ENDinterface(strm)
-#define strmCURR_IF_VERSION 5 /* increment whenever you change the interface structure! */
+#define strmCURR_IF_VERSION 6 /* increment whenever you change the interface structure! */
/* prototypes */