Imported Upstream version 2.7
[ossec-hids.git] / src / analysisd / decoders / plugin_decoders.h
1 /* @(#) $Id: ./src/analysisd/decoders/plugin_decoders.h, 2011/09/08 dcid Exp $
2  */
3
4 /* Copyright (C) 2009 Trend Micro Inc.
5  * All rights reserved.
6  *
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
10  * Foundation.
11  *
12  * License details at the LICENSE file included with OSSEC or
13  * online at: http://www.ossec.net/en/licensing.html
14  */
15
16
17 #ifndef __PLUGINDECODER_H
18 #define __PLUGINDECODER_H
19
20
21 /* Plugin decoder for OpenBSD PF */
22 void *PF_Decoder_Init(char *p_name);
23 void *PF_Decoder_Exec(void *lf);
24
25 /* Plugin for Symantec Web Security */
26 void *SymantecWS_Decoder_Init(char *p_name);
27 void *SymantecWS_Decoder_Exec(void *lf);
28
29 /* Plugin for Sonicwall */
30 void *SonicWall_Decoder_Init(char *p_name);
31 void *SonicWall_Decoder_Exec(void *lf);
32
33 /* Plugin for OSSEC alert */
34 void *OSSECAlert_Decoder_Init(char *p_name);
35 void *OSSECAlert_Decoder_Exec(void *lf);
36
37
38 /* List of plugins. All three lists must be in the same order */
39 char *(plugin_decoders[])={"PF_Decoder",
40                            "SymantecWS_Decoder",
41                            "SonicWall_Decoder",
42                            "OSSECAlert_Decoder",
43                            NULL};
44 void *(plugin_decoders_init[]) = {PF_Decoder_Init,
45                                   SymantecWS_Decoder_Init,
46                                   SonicWall_Decoder_Init,
47                                   OSSECAlert_Decoder_Init,
48                                   NULL};
49 void *(plugin_decoders_exec[]) = {PF_Decoder_Exec,
50                                   SymantecWS_Decoder_Exec,
51                                   SonicWall_Decoder_Exec,
52                                   OSSECAlert_Decoder_Exec,
53                                   NULL};
54
55
56
57
58 #endif
59
60 /* EOF */