-/* @(#) $Id: ./src/analysisd/analysisd.h, 2011/09/08 dcid Exp $
- */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
* Foundation
*/
-/* v0.4(2005/09/08): Multiple additions.
- * v0.1:
- */
-
-
-
#ifndef _LOGAUDIT__H
-
#define _LOGAUDIT__H
#include <sys/types.h>
-/* Time structures */
-int today;
-int thishour;
-
-int prev_year;
-char prev_month[4];
+#include "decoders/decoder.h"
-int __crt_hour;
-int __crt_wday;
+/* Time structures */
+extern int today;
+extern int thishour;
+extern int prev_year;
+extern char prev_month[4];
+extern int __crt_hour;
+extern int __crt_wday;
+extern time_t c_time; /* Current time of event. Used everywhere */
+/* Local host name */
+extern char __shost[512];
-time_t c_time; /* Current time of event. Used everywhere */
+extern OSDecoderInfo *NULL_Decoder;
-/* Local host name */
-char __shost[512];
+#define OSSEC_SERVER "ossec-server"
+#define MAX_DECODER_ORDER_SIZE 20
-void *NULL_Decoder;
+#endif /* _LOGAUDIT__H */
-#define OSSEC_SERVER "ossec-server"
-#endif