diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-11 19:38:09 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-11 19:38:09 +0000 |
commit | 366060a51de60c717886636d6ef646bf1959972c (patch) | |
tree | 37e79ebc787f6996ac9195c6c7f10cf3136d7793 /stream.h | |
parent | a80f7776c543d80f773ea6149e73e008f7273186 (diff) | |
download | rsyslog-366060a51de60c717886636d6ef646bf1959972c.tar.gz rsyslog-366060a51de60c717886636d6ef646bf1959972c.tar.xz rsyslog-366060a51de60c717886636d6ef646bf1959972c.zip |
partial ability to read a disk queue back in (not completed, but would like
to save source for the weekend)
Diffstat (limited to 'stream.h')
-rw-r--r-- | stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,12 +73,12 @@ typedef struct strm_s { int iMaxFiles; /* maximum number of files if a circular mode is in use */ int iFileNumDigits;/* min number of digits to use in file number (only in circular mode) */ int bDeleteOnClose; /* set to 1 to auto-delete on close -- be careful with that setting! */ + size_t iCurrOffs;/* current offset */ /* dynamic properties, valid only during file open, not to be persistet */ size_t sIOBufSize;/* size of IO buffer */ uchar *pszDir; /* Directory */ int lenDir; int fd; /* the file descriptor, -1 if closed */ - size_t iCurrOffs;/* current offset */ uchar *pszCurrFName; /* name of current file (if open) */ uchar *pIOBuf; /* io Buffer */ size_t iBufPtrMax; /* current max Ptr in Buffer (if partial read!) */ |