X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fanalysisd%2Fanalysisd.h;fp=src%2Fanalysisd%2Fanalysisd.h;h=6586fe4b8b22c97e0acedbcbbb517237f095a701;hp=d79cd4aa1c322d2b60dffddb1ef9451ab650ba7f;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b diff --git a/src/analysisd/analysisd.h b/src/analysisd/analysisd.h old mode 100755 new mode 100644 index d79cd4a..6586fe4 --- a/src/analysisd/analysisd.h +++ b/src/analysisd/analysisd.h @@ -1,6 +1,3 @@ -/* @(#) $Id: ./src/analysisd/analysisd.h, 2011/09/08 dcid Exp $ - */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -10,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; - -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