17#ifndef NMSG_FLTMOD_PLUGIN_H
18#define NMSG_FLTMOD_PLUGIN_H
74#define NMSG_FLTMOD_VERSION 1
99(*nmsg_fltmod_module_init_fp)(
const void *param,
100 const size_t len_param,
111(*nmsg_fltmod_module_fini_fp)(
void *mod_data);
128(*nmsg_fltmod_thread_init_fp)(
void *mod_data,
void **thr_data);
147(*nmsg_fltmod_thread_fini_fp)(
void *mod_data,
void *thr_data);
178(*nmsg_fltmod_filter_message_fp)(nmsg_message_t *msg,
181 nmsg_filter_message_verdict *vres);
184#define NMSG_FLTMOD_REQUIRED_INIT \
185 .fltmod_version = NMSG_FLTMOD_VERSION
190struct nmsg_fltmod_plugin {
203 nmsg_fltmod_module_init_fp module_init;
211 nmsg_fltmod_module_fini_fp module_fini;
218 nmsg_fltmod_thread_init_fp thread_init;
227 nmsg_fltmod_thread_fini_fp thread_fini;
233 nmsg_fltmod_filter_message_fp filter_message;