Go to the documentation of this file.
18 #ifndef __SURICATA_PLUGIN_H__
19 #define __SURICATA_PLUGIN_H__
30 #define PLUGIN_VAR_SIZE 64
42 typedef SCPlugin *(*SCPluginRegisterFunc)(void);
54 int (*
Write)(
const char *buffer,
int buffer_len,
void *init_data,
void *thread_data);
58 int (*
ThreadInit)(
void *init_data,
int thread_id,
void **thread_data);
69 void (*
Init)(
const char *args,
int plugin_slot,
int receive_slot,
int decode_slot);
70 int (*
ThreadInit)(
void *ctx,
int thread_id,
void **thread_ctx);
72 const char *(*GetDefaultMode)(void);
int(* Write)(const char *buffer, int buffer_len, void *init_data, void *thread_data)
int SCPluginRegisterCapture(SCCapturePlugin *)
struct SCEveFileType_ SCEveFileType
void(* Init)(const char *args, int plugin_slot, int receive_slot, int decode_slot)
int(* Init)(ConfNode *conf, bool threaded, void **init_data)
int(* ThreadInit)(void *ctx, int thread_id, void **thread_ctx)
bool SCRegisterEveFileType(SCEveFileType *)
TAILQ_ENTRY(SCCapturePlugin_) entries
struct SCCapturePlugin_ SCCapturePlugin
bool SCPluginRegisterEveFileType(SCEveFileType *)
void(* Deinit)(void *init_data)
TAILQ_ENTRY(SCEveFileType_) entries
int(* ThreadDeinit)(void *init_data, void *thread_data)
struct SCPlugin_ SCPlugin
int(* ThreadInit)(void *init_data, int thread_id, void **thread_data)
int(* ThreadDeinit)(void *ctx, void *thread_ctx)