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