new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / analysisd.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 _LOGAUDIT__H
11 #define _LOGAUDIT__H
12
13 #include <sys/types.h>
14
15 #include "decoders/decoder.h"
16
17 /* Time structures */
18 extern int today;
19 extern int thishour;
20 extern int prev_year;
21 extern char prev_month[4];
22
23 extern int __crt_hour;
24 extern int __crt_wday;
25
26 extern time_t c_time; /* Current time of event. Used everywhere */
27
28 /* Local host name */
29 extern char __shost[512];
30
31 extern OSDecoderInfo *NULL_Decoder;
32
33 #define OSSEC_SERVER    "ossec-server"
34 #define MAX_DECODER_ORDER_SIZE  20
35
36
37 #endif /* _LOGAUDIT__H */
38