Merge commit 'v2.5.1'
[ossec-hids.git] / src / headers / report_op.h
index 41711cc..9218e2f 100755 (executable)
@@ -1,11 +1,11 @@
-/* @(#) $Id: report_op.h,v 1.2 2009/06/24 17:06:26 dcid Exp $ */
+/* @(#) $Id$ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation
  */
 
@@ -24,6 +24,7 @@
 #define REPORT_REL_RULE          0x010
 #define REPORT_REL_GROUP         0x020
 #define REPORT_REL_LOCATION      0x040
+#define REPORT_TYPE_DAILY        0x100
            
 
 
@@ -35,6 +36,9 @@ typedef struct _report_filter
     char *rule;
     char *level;
     char *location;
+    char *user;
+    char *srcip;
+    char *filename;
 
     void *top_user;
     void *top_srcip;
@@ -49,6 +53,10 @@ typedef struct _report_filter
     int related_rule;
     int related_group;
     int related_location;
+
+    int report_type;
+    int show_alerts;
+    void *fp;
      
 }report_filter;