-/* @(#) $Id: analysisd.h,v 1.10 2009/06/24 17:06:21 dcid Exp $ */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* 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;
+#include "decoders/decoder.h"
-int prev_year;
-char prev_month[4];
-
-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;
-/* For test rule only. */
-#ifdef TESTRULE
-int full_output;
-#endif
+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