new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / decoders / plugin_decoders.c
diff --git a/src/analysisd/decoders/plugin_decoders.c b/src/analysisd/decoders/plugin_decoders.c
new file mode 100644 (file)
index 0000000..12113a1
--- /dev/null
@@ -0,0 +1,30 @@
+/* Copyright (C) 2015 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 2) as published by the FSF - Free Software
+ * Foundation.
+ */
+
+#include "plugin_decoders.h"
+
+/* List of plugins. All three lists must be in the same order */
+const char *(plugin_decoders[]) = {"PF_Decoder",
+                             "SymantecWS_Decoder",
+                             "SonicWall_Decoder",
+                             "OSSECAlert_Decoder",
+                             NULL
+                            };
+void *(plugin_decoders_init[]) = {PF_Decoder_Init,
+                                  SymantecWS_Decoder_Init,
+                                  SonicWall_Decoder_Init,
+                                  OSSECAlert_Decoder_Init,
+                                  NULL
+                                 };
+void *(plugin_decoders_exec[]) = {PF_Decoder_Exec,
+                                  SymantecWS_Decoder_Exec,
+                                  SonicWall_Decoder_Exec,
+                                  OSSECAlert_Decoder_Exec,
+                                  NULL
+                                 };