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