25static void InitCapturePlugin(
const char *args,
int plugin_slot,
int receive_slot,
int decode_slot)
33static void SCPluginInit(
void)
38 FatalError(
"Failed to allocate memory for capture plugin");
40 plugin->
name =
"ci-capture";
41 plugin->
Init = InitCapturePlugin;
50 .plugin_version =
"0.1.0",
51 .author =
"OISF Developer",
52 .license =
"GPL-2.0-only",
const SCPlugin * SCPluginRegister()
const SCPlugin PluginRegistration
const char * CiCaptureIdsGetDefaultRunMode(void)
void CiCaptureIdsRegister(int slot)
void TmModuleDecodeCiCaptureRegister(int slot)
void TmModuleReceiveCiCaptureRegister(int slot)
void(* Init)(const char *args, int plugin_slot, int receive_slot, int decode_slot)
const char *(* GetDefaultMode)(void)
#define SC_PACKAGE_VERSION
int SCPluginRegisterCapture(SCCapturePlugin *)
#define SCLogNotice(...)
Macro used to log NOTICE messages.