diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-01-26 12:34:42 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-01-26 12:34:42 +0100 |
commit | 34a1bd0c1d78cb889424bdbc73ad693a70020ba1 (patch) | |
tree | 21089772e9efdf4d2c927ccaba7d056663e8a1fb /runtime/stream.h | |
parent | 33e5e60734f654256ac33781728777798bc88d1c (diff) | |
parent | 9813a12789d08a00fa96c11f113cd531c7f2ce7b (diff) | |
download | rsyslog-34a1bd0c1d78cb889424bdbc73ad693a70020ba1.tar.gz rsyslog-34a1bd0c1d78cb889424bdbc73ad693a70020ba1.tar.xz rsyslog-34a1bd0c1d78cb889424bdbc73ad693a70020ba1.zip |
Merge branch 'v5-devel-david-imfile' into v5-devel
Diffstat (limited to 'runtime/stream.h')
-rw-r--r-- | runtime/stream.h | 5 |
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 */ |