X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fanalysisd%2Fdecoders%2Fdecoder.h;h=84e9e8645f626d64113eba4a7afc024487cc9370;hb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;hp=68a3339da22ffced1acf48f0f4534e43c280bbf9;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/analysisd/decoders/decoder.h b/src/analysisd/decoders/decoder.h index 68a3339..84e9e86 100755 --- a/src/analysisd/decoders/decoder.h +++ b/src/analysisd/decoders/decoder.h @@ -1,14 +1,15 @@ -/* @(#) $Id: decoder.h,v 1.20 2009/06/24 17:06:23 dcid Exp $ */ +/* @(#) $Id: ./src/analysisd/decoders/decoder.h, 2011/09/08 dcid Exp $ + */ /* Copyright (C) 2009 Trend Micro Inc. * All rights 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. * - * License details at the LICENSE file included with OSSEC or + * License details at the LICENSE file included with OSSEC or * online at: http://www.ossec.net/en/licensing.html */ @@ -24,8 +25,8 @@ #define AFTER_PARENT 0x001 /* 1 */ #define AFTER_PREMATCH 0x002 /* 2 */ -#define AFTER_PREVREGEX 0x004 /* 4 */ -#define AFTER_ERROR 0x010 +#define AFTER_PREVREGEX 0x004 /* 4 */ +#define AFTER_ERROR 0x010 @@ -39,16 +40,16 @@ typedef struct u_int16_t id; u_int16_t regex_offset; u_int16_t prematch_offset; - + int fts; char *parent; char *name; char *ftscomment; - + OSRegex *regex; OSRegex *prematch; OSMatch *program_name; - + void (*plugindecoder)(void *lf); void (**order)(void *lf, char *field); }OSDecoderInfo;