Imported Upstream version 2.7
[ossec-hids.git] / src / config / reports-config.h
1 /* @(#) $Id: ./src/config/reports-config.h, 2011/09/08 dcid Exp $
2  */
3
4 /* Copyright (C) 2009 Trend Micro Inc.
5  * All rights reserved.
6  *
7  * This program is a free software; you can redistribute it
8  * and/or modify it under the terms of the GNU General Public
9  * License (version 2) as published by the FSF - Free Software
10  * Foundation
11  */
12
13
14 #ifndef _REPORTSCONFIG_H
15 #define _REPORTSCONFIG_H
16
17 #include "report_op.h"
18
19
20 /* Structure for the report. */
21 typedef struct _report_config
22 {
23     char *title;
24     char *args;
25     char *relations;
26     char *type;
27     char **emailto;
28     report_filter r_filter;
29 }report_config;
30
31 typedef struct _monitor_config
32 {
33     short int day_wait;
34     short int compress;
35     short int sign;
36     short int monitor_agents;
37     int a_queue;
38
39     char *smtpserver;
40     char *emailfrom;
41
42     char **agents;
43     report_config **reports;
44 }monitor_config;
45
46
47
48 #endif