Go to the documentation of this file.
18 #ifndef SURICATA_SURICATA_PLUGIN_H
19 #define SURICATA_SURICATA_PLUGIN_H
30 #define PLUGIN_VAR_SIZE 64
42 typedef SCPlugin *(*SCPluginRegisterFunc)(void);
46 void (*
Init)(
const char *args,
int plugin_slot,
int receive_slot,
int decode_slot);
49 const char *(*GetDefaultMode)(void);
56 #define SC_PLUGIN_API_VERSION 8
int SCPluginRegisterCapture(SCCapturePlugin *)
void(* Init)(const char *args, int plugin_slot, int receive_slot, int decode_slot)
void(* KeywordsRegister)(void)
int(* ThreadInit)(void *ctx, int thread_id, void **thread_ctx)
TAILQ_ENTRY(SCCapturePlugin_) entries
int SCPluginRegisterAppLayer(SCAppLayerPlugin *)
struct SCCapturePlugin_ SCCapturePlugin
struct SCAppLayerPlugin_ SCAppLayerPlugin
bool(* Logger)(void *tx, void *jb)
struct SCPlugin_ SCPlugin
int(* ThreadDeinit)(void *ctx, void *thread_ctx)