X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Fanalysisd.h;h=6586fe4b8b22c97e0acedbcbbb517237f095a701;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=fe580d45ebda6d5f9afadcbceeaaab517b9ab72b;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;p=ossec-hids.git diff --git a/src/analysisd/analysisd.h b/src/analysisd/analysisd.h old mode 100755 new mode 100644 index fe580d4..6586fe4 --- a/src/analysisd/analysisd.h +++ b/src/analysisd/analysisd.h @@ -1,5 +1,3 @@ -/* @(#) $Id$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -9,38 +7,32 @@ * Foundation */ -/* v0.4(2005/09/08): Multiple additions. - * v0.1: - */ - - - #ifndef _LOGAUDIT__H - #define _LOGAUDIT__H #include -/* 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; +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