Imported Upstream version 2.3
[ossec-hids.git] / src / analysisd / analysisd.h
1 /* @(#) $Id: analysisd.h,v 1.10 2009/06/24 17:06:21 dcid Exp $ */
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 3) as published by the FSF - Free Software
9  * Foundation
10  */
11
12 /* v0.4(2005/09/08): Multiple additions.
13  * v0.1:
14  */
15
16
17
18 #ifndef _LOGAUDIT__H
19
20 #define _LOGAUDIT__H
21
22 #include <sys/types.h>
23
24 /* Time structures */
25 int today;
26 int thishour;
27
28 int prev_year;
29 char prev_month[4];
30
31 int __crt_hour;
32 int __crt_wday;
33
34
35 /* For test rule only. */
36 #ifdef TESTRULE
37 int full_output;
38 #endif
39
40
41 time_t c_time; /* Current time of event. Used everywhere */
42
43 /* Local host name */
44 char __shost[512];
45
46 void *NULL_Decoder;
47
48
49 #define OSSEC_SERVER    "ossec-server"
50 #endif