X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fanalysisd%2Feventinfo.h;fp=src%2Fanalysisd%2Feventinfo.h;h=3129630fc183b4b10e0f7271468192f03f15bacd;hp=dcfeb93b42bc291f91980acaad03689433a46858;hb=a62b46c229549212d536867b7e5e24d7576ebe8b;hpb=d623b82886b9b5fbba3fa27c3bfac51f3f8af108 diff --git a/src/analysisd/eventinfo.h b/src/analysisd/eventinfo.h index dcfeb93..3129630 100755 --- a/src/analysisd/eventinfo.h +++ b/src/analysisd/eventinfo.h @@ -1,11 +1,11 @@ -/* @(#) $Id: eventinfo.h,v 1.37 2009/07/24 18:34:11 dcid Exp $ */ +/* @(#) $Id$ */ /* 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 */ @@ -67,8 +67,25 @@ typedef struct _Eventinfo int time; int day; int year; - char hour[9]; + char hour[10]; char mon[4]; + + /* SYSCHECK Results variables -- only used by prelude for now */ + #ifdef PRELUDE + char *filename; + int perm_before; + int perm_after; + char *md5_before; + char *md5_after; + char *sha1_before; + char *sha1_after; + char *size_before; + char *size_after; + char *owner_before; + char *owner_after; + char *gowner_before; + char *gowner_after; + #endif }Eventinfo; @@ -82,6 +99,13 @@ typedef struct _EventNode +/* For test rule only. */ +#ifdef TESTRULE +int full_output; +int alert_only; +#endif + + /** Types of events (from decoders) **/ #define UNKNOWN 0 /* Unkown */ #define SYSLOG 1 /* syslog messages */