X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fanalysisd%2Fdecoders%2Fdecoder.h;h=84e9e8645f626d64113eba4a7afc024487cc9370;hp=021f9ecb111193a90bdc82478889491d5f0966fe;hb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;hpb=301048b51990573e58a30dc4a5bb4ec285cad554 diff --git a/src/analysisd/decoders/decoder.h b/src/analysisd/decoders/decoder.h index 021f9ec..84e9e86 100755 --- a/src/analysisd/decoders/decoder.h +++ b/src/analysisd/decoders/decoder.h @@ -1,4 +1,5 @@ -/* @(#) $Id$ */ +/* @(#) $Id: ./src/analysisd/decoders/decoder.h, 2011/09/08 dcid Exp $ + */ /* Copyright (C) 2009 Trend Micro Inc. * All rights reserved. @@ -8,7 +9,7 @@ * 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;