1
0

patch-logrotate_h 616 B

12345678910111213141516171819
  1. $Id$
  2. --- logrotate-3.7.1.orig/logrotate.h Thu Aug 7 13:13:14 2003
  3. +++ logrotate-3.7.1/logrotate.h Sat Jan 20 18:54:35 2007
  4. @@ -15,6 +15,7 @@
  5. #define LOG_FLAG_MAILFIRST (1 << 6)
  6. #define LOG_FLAG_SHAREDSCRIPTS (1 << 7)
  7. #define LOG_FLAG_COPY (1 << 8)
  8. +#define LOG_FLAG_DATEEXT (1 << 9)
  9. #define NO_FORCE_ROTATE 0
  10. #define FORCE_ROTATE 1
  11. @@ -34,6 +35,7 @@ typedef struct {
  12. enum { ROT_DAYS, ROT_WEEKLY, ROT_MONTHLY, ROT_SIZE, ROT_FORCE } criterium;
  13. unsigned int threshhold;
  14. int rotateCount;
  15. + int rotateAge;
  16. int logStart;
  17. char * pre, * post, * first, * last;
  18. char * logAddress;