diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-13 08:14:47 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-13 08:14:47 +0000 |
commit | 722e691af737862b32515fd5644feb33547eff8f (patch) | |
tree | c6730a14de9a90d9012aac2243e5c87ae743f9b1 /stream.h | |
parent | 088ad960e9d77d6a58a3914e53275a5e40b85dc3 (diff) | |
download | rsyslog-722e691af737862b32515fd5644feb33547eff8f.tar.gz rsyslog-722e691af737862b32515fd5644feb33547eff8f.tar.xz rsyslog-722e691af737862b32515fd5644feb33547eff8f.zip |
- introduced a new, more powerful, message submission interface submitMsg()
in additon to logmsg()
- a first, rough implementation of imfile that is able to read files (but
does not persist or handle rotation or whatever)
Diffstat (limited to 'stream.h')
-rw-r--r-- | stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -96,6 +96,7 @@ rsRetVal strmSetMaxFileSize(strm_t *pThis, int64 iMaxFileSize); rsRetVal strmSetFileName(strm_t *pThis, uchar *pszName, size_t iLenName); rsRetVal strmReadChar(strm_t *pThis, uchar *pC); rsRetVal strmUnreadChar(strm_t *pThis, uchar c); +rsRetVal strmReadLine(strm_t *pThis, rsCStrObj **ppCStr); rsRetVal strmSeekCurrOffs(strm_t *pThis); rsRetVal strmWrite(strm_t *pThis, uchar *pBuf, size_t lenBuf); rsRetVal strmWriteChar(strm_t *pThis, uchar c); |