nmsg_filter_message_verdict
nmsg_res nmsg_fltmod_thread_init(nmsg_fltmod_t fltmod, void **thr_data)
Initialize thread-specific data for the filter module.
nmsg_fltmod_t nmsg_fltmod_init(const char *name, const void *param, const size_t len_param)
Initialize a filter module with the given parameters.
nmsg_res nmsg_fltmod_thread_fini(nmsg_fltmod_t fltmod, void *thr_data)
Release any thread-specific resources acquired by nmsg_fltmod_thread_init().
nmsg_res nmsg_fltmod_filter_message(nmsg_fltmod_t fltmod, nmsg_message_t *msg, void *thr_data, nmsg_filter_message_verdict *vres)
Filter a message object and return the filter verdict.
void nmsg_fltmod_destroy(nmsg_fltmod_t *fltmod)
Destroy a filter module.