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