new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / config / reports-config.h
old mode 100755 (executable)
new mode 100644 (file)
index 26a023c..5ec1bd2
@@ -1,6 +1,3 @@
-/* @(#) $Id: ./src/config/reports-config.h, 2011/09/08 dcid Exp $
- */
-
 /* Copyright (C) 2009 Trend Micro Inc.
  * All rights reserved.
  *
  * Foundation
  */
 
-
 #ifndef _REPORTSCONFIG_H
 #define _REPORTSCONFIG_H
 
 #include "report_op.h"
 
-
-/* Structure for the report. */
-typedef struct _report_config
-{
+/* Structure for the report */
+typedef struct _report_config {
     char *title;
     char *args;
     char *relations;
     char *type;
     char **emailto;
     report_filter r_filter;
-}report_config;
+} report_config;
 
-typedef struct _monitor_config
-{
-    short int day_wait;
+typedef struct _monitor_config {
+    unsigned short int day_wait;
     short int compress;
     short int sign;
     short int monitor_agents;
     int a_queue;
+    int notify_time;
 
     char *smtpserver;
     char *emailfrom;
@@ -42,8 +36,6 @@ typedef struct _monitor_config
 
     char **agents;
     report_config **reports;
-}monitor_config;
-
-
+} monitor_config;
 
-#endif
+#endif /* _REPORTSCONFIG_H */