1 /* @(#) $Id: plugin_decoders.h,v 1.7 2009/06/24 17:06:23 dcid Exp $ */
3 /* Copyright (C) 2009 Trend Micro Inc.
6 * This program is a free software; you can redistribute it
7 * and/or modify it under the terms of the GNU General Public
8 * License (version 3) as published by the FSF - Free Software
11 * License details at the LICENSE file included with OSSEC or
12 * online at: http://www.ossec.net/en/licensing.html
16 #ifndef __PLUGINDECODER_H
17 #define __PLUGINDECODER_H
20 /* Plugin decoder for OpenBSD PF */
21 void *PF_Decoder_Init(char *p_name);
22 void *PF_Decoder_Exec(void *lf);
24 /* Plugin for Symantec Web Security */
25 void *SymantecWS_Decoder_Init(char *p_name);
26 void *SymantecWS_Decoder_Exec(void *lf);
28 /* Plugin for Sonicwall */
29 void *SonicWall_Decoder_Init(char *p_name);
30 void *SonicWall_Decoder_Exec(void *lf);
32 /* Plugin for OSSEC alert */
33 void *OSSECAlert_Decoder_Init(char *p_name);
34 void *OSSECAlert_Decoder_Exec(void *lf);
37 /* List of plugins. All three lists must be in the same order */
38 char *(plugin_decoders[])={"PF_Decoder",
43 void *(plugin_decoders_init[]) = {PF_Decoder_Init,
44 SymantecWS_Decoder_Init,
45 SonicWall_Decoder_Init,
46 OSSECAlert_Decoder_Init,
48 void *(plugin_decoders_exec[]) = {PF_Decoder_Exec,
49 SymantecWS_Decoder_Exec,
50 SonicWall_Decoder_Exec,
51 OSSECAlert_Decoder_Exec,