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