X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Feventinfo.h;h=fb5b4b64129f9c3d74b857c3903328b0ef669304;hb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;hp=dcfeb93b42bc291f91980acaad03689433a46858;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/analysisd/eventinfo.h b/src/analysisd/eventinfo.h index dcfeb93..fb5b4b6 100755 --- a/src/analysisd/eventinfo.h +++ b/src/analysisd/eventinfo.h @@ -1,11 +1,12 @@ -/* @(#) $Id: eventinfo.h,v 1.37 2009/07/24 18:34:11 dcid Exp $ */ +/* @(#) $Id: ./src/analysisd/eventinfo.h, 2011/09/08 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 */ @@ -63,12 +64,29 @@ typedef struct _Eventinfo /* Other internal variables */ short int matched; - + 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 +100,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 */