diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 07:03:22 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 07:03:22 +0000 |
commit | c247f4e02771960f5c880dc50a3003f786faefac (patch) | |
tree | d1c5079827af77c703b77de5d6199174242e0ce2 /stream.h | |
parent | dee5485ade5b77748f2cebcd6b65ea71f01123f8 (diff) | |
download | rsyslog-c247f4e02771960f5c880dc50a3003f786faefac.tar.gz rsyslog-c247f4e02771960f5c880dc50a3003f786faefac.tar.xz rsyslog-c247f4e02771960f5c880dc50a3003f786faefac.zip |
changed queue file name generation (to be more generic)
Diffstat (limited to 'stream.h')
-rw-r--r-- | stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,6 +71,7 @@ typedef struct strm_s { int iModeOpenOS; size_t iMaxFileSize;/* maximum size a file may grow to */ int bDeleteOnClose; /* set to 1 to auto-delete on close -- be careful with that setting! */ + int iMaxFiles; /* maximum number of files if a circular mode is in use */ } strm_t; #define STRM_IOBUF_SIZE 4096 /* size of the IO buffer */ @@ -90,5 +91,6 @@ rsRetVal strmSetDir(strm_t *pThis, uchar *pszDir, size_t iLenDir); PROTOTYPEObjClassInit(strm); PROTOTYPEpropSetMeth(strm, bDeleteOnClose, int); PROTOTYPEpropSetMeth(strm, iMaxFileSize, int); +PROTOTYPEpropSetMeth(strm, iMaxFiles, int); #endif /* #ifndef STREAM_H_INCLUDED */ |