Merge commit 'v2.5.1'
[ossec-hids.git] / src / config / reports-config.h
diff --git a/src/config/reports-config.h b/src/config/reports-config.h
new file mode 100755 (executable)
index 0000000..4b37a8d
--- /dev/null
@@ -0,0 +1,47 @@
+/* @(#) $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 2) as published by the FSF - Free Software
+ * Foundation
+ */
+
+
+#ifndef _REPORTSCONFIG_H
+#define _REPORTSCONFIG_H
+
+#include "report_op.h"
+
+
+/* Structure for the report. */
+typedef struct _report_config
+{
+    char *title;
+    char *args;
+    char *relations;
+    char *type;
+    char **emailto;
+    report_filter r_filter;
+}report_config;
+   
+typedef struct _monitor_config
+{
+    short int day_wait;
+    short int compress;
+    short int sign;
+    short int monitor_agents;
+    int a_queue;
+
+    char *smtpserver;
+    char *emailfrom;
+
+    char **agents;
+    report_config **reports;
+}monitor_config;
+
+
+
+#endif