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