summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-11 19:38:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-11 19:38:09 +0000
commit366060a51de60c717886636d6ef646bf1959972c (patch)
tree37e79ebc787f6996ac9195c6c7f10cf3136d7793 /stream.h
parenta80f7776c543d80f773ea6149e73e008f7273186 (diff)
downloadrsyslog-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.h b/stream.h
index e48d354c..d5b207ce 100644
--- a/stream.h
+++ b/stream.h
@@ -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!) */