Imported Upstream version 2.7
[ossec-hids.git] / src / analysisd / analysisd.h
1 /* @(#) $Id: ./src/analysisd/analysisd.h, 2011/09/08 dcid Exp $
2  */
3
4 /* Copyright (C) 2009 Trend Micro Inc.
5  * All right reserved.
6  *
7  * This program is a free software; you can redistribute it
8  * and/or modify it under the terms of the GNU General Public
9  * License (version 2) as published by the FSF - Free Software
10  * Foundation
11  */
12
13 /* v0.4(2005/09/08): Multiple additions.
14  * v0.1:
15  */
16
17
18
19 #ifndef _LOGAUDIT__H
20
21 #define _LOGAUDIT__H
22
23 #include <sys/types.h>
24
25 /* Time structures */
26 int today;
27 int thishour;
28
29 int prev_year;
30 char prev_month[4];
31
32 int __crt_hour;
33 int __crt_wday;
34
35
36
37
38 time_t c_time; /* Current time of event. Used everywhere */
39
40 /* Local host name */
41 char __shost[512];
42
43 void *NULL_Decoder;
44
45
46 #define OSSEC_SERVER    "ossec-server"
47 #endif