]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - include/conf.h
Store the period internaly and get rid of the sarg-period file.
[thirdparty/sarg.git] / include / conf.h
index b1fca217c367308f4857d6785fbef12d9ec7e9df..4191ee20cb12511fab8718002ff7a94292df6566 100755 (executable)
@@ -233,9 +233,16 @@ int mkstemps(char *template, int suffixlen);
 #define DATAFILEURL_IP   0x0001UL
 #define DATAFILEURL_NAME 0x0002UL
 
+struct periodstruct
+{
+   struct tm start;
+   struct tm end;
+   char text[40];
+};
+
 char outdir[MAXLEN];
 char outdirname[MAXLEN];
-char period[MAXLEN];
+struct periodstruct period;
 char code[MAXLEN];
 char code2[MAXLEN];
 char tmp[MAXLEN];