Imported Upstream version 2.7
[ossec-hids.git] / src / config / rootcheck-config.h
1 /*   $OSSEC, rootcheck.h, v0.1, 2005/10/03, Daniel B. Cid$   */
2
3 /* Copyright (C) 2009 Trend Micro Inc.
4  * All right 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 __CROOTCHECK_H
14
15 #define __CROOTCHECK_H
16
17 #include <stdio.h>
18
19 typedef struct _rkconfig
20 {
21     char *workdir;
22     char *basedir;
23     char *rootkit_files;
24     char *rootkit_trojans;
25     char **unixaudit;
26     char **ignore;
27     char *winaudit;
28     char *winmalware;
29     char *winapps;
30     char **alert_msg;
31
32     FILE *fp;
33     int daemon;
34     int notify; /* QUEUE or SYSLOG */
35     int scanall;
36     int readall;
37     int disabled;
38
39     int time;
40     int queue;
41         
42         struct _checks
43         {
44         short rc_dev;
45         short rc_files;
46         short rc_if;
47         short rc_pids;
48         short rc_ports;
49         short rc_sys;
50         short rc_trojans;
51
52         #ifdef WIN32
53
54         short rc_winaudit;
55         short rc_winmalware;
56         short rc_winapps;
57
58         #else
59
60         short rc_unixaudit;
61
62         #endif
63
64
65     } checks;
66
67 }rkconfig;
68
69 #endif
70
71 /* EOF */