Go to the documentation of this file.
18 #ifndef SURICATA_SURICATA_PLUGIN_H
19 #define SURICATA_SURICATA_PLUGIN_H
31 #define PLUGIN_VAR_SIZE 64
35 static const uint64_t SC_API_VERSION = 0x0800;
36 #define SC_PACKAGE_VERSION PACKAGE_VERSION
52 typedef SCPlugin *(*SCPluginRegisterFunc)(void);
56 void (*
Init)(
const char *args,
int plugin_slot,
int receive_slot,
int decode_slot);
59 const char *(*GetDefaultMode)(void);
71 bool (*
Logger)(
const void *tx,
void *jb);
int SCPluginRegisterCapture(SCCapturePlugin *)
bool(* Logger)(const void *tx, void *jb)
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)
const char * plugin_version
TAILQ_ENTRY(SCCapturePlugin_) entries
const char * suricata_version
int SCPluginRegisterAppLayer(SCAppLayerPlugin *)
struct SCCapturePlugin_ SCCapturePlugin
struct SCAppLayerPlugin_ SCAppLayerPlugin
struct SCPlugin_ SCPlugin
int(* ThreadDeinit)(void *ctx, void *thread_ctx)