new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / config / rootcheck-config.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All right 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 __CROOTCHECK_H
11 #define __CROOTCHECK_H
12
13 #include <stdio.h>
14
15 typedef struct _rkconfig {
16     const char *workdir;
17     char *basedir;
18     char *rootkit_files;
19     char *rootkit_trojans;
20     char **unixaudit;
21     char **ignore;
22     char *winaudit;
23     char *winmalware;
24     char *winapps;
25     char **alert_msg;
26
27     FILE *fp;
28     int daemon;
29     int notify; /* QUEUE or SYSLOG */
30     int scanall;
31     int readall;
32     int disabled;
33     short skip_nfs;
34
35 #ifdef OSSECHIDS
36     unsigned int tsleep;
37 #endif /* OSSECHIDS */
38
39     int time;
40     int queue;
41
42     struct _checks {
43         short rc_dev;
44         short rc_files;
45         short rc_if;
46         short rc_pids;
47         short rc_ports;
48         short rc_sys;
49         short rc_trojans;
50
51 #ifdef WIN32
52         short rc_winaudit;
53         short rc_winmalware;
54         short rc_winapps;
55 #else
56         short rc_unixaudit;
57 #endif
58
59     } checks;
60
61 } rkconfig;
62
63 #endif /* __CROOTCHECK_H */
64