-/* @(#) $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
*/
#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
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;