17#ifndef NMSG_FLTMOD_PLUGIN_H 
   18#define NMSG_FLTMOD_PLUGIN_H 
   74#define NMSG_FLTMOD_VERSION     1 
  100                              const size_t len_param,
 
  184#define NMSG_FLTMOD_REQUIRED_INIT \ 
  185        .fltmod_version = NMSG_FLTMOD_VERSION 
 
nmsg_filter_message_verdict
 
void(* nmsg_fltmod_module_fini_fp)(void *mod_data)
Destroy the filter module.
 
nmsg_res(* nmsg_fltmod_thread_init_fp)(void *mod_data, void **thr_data)
Initialize module-defined, thread-wide state.
 
nmsg_res(* nmsg_fltmod_module_init_fp)(const void *param, const size_t len_param, void **mod_data)
Initialize the filter module.
 
nmsg_res(* nmsg_fltmod_thread_fini_fp)(void *mod_data, void *thr_data)
Destroy thread-wide state.
 
nmsg_res(* nmsg_fltmod_filter_message_fp)(nmsg_message_t *msg, void *mod_data, void *thr_data, nmsg_filter_message_verdict *vres)
Filter a message object and return the filter verdict.
 
Base nmsg support header.
 
Structure exported by filter modules.
 
nmsg_fltmod_module_fini_fp module_fini
Module-wide finalization function.
 
nmsg_fltmod_module_init_fp module_init
Module-wide initialization function.
 
nmsg_fltmod_thread_fini_fp thread_fini
Per-thread finalization function.
 
nmsg_fltmod_filter_message_fp filter_message
Message filter function.
 
nmsg_fltmod_thread_init_fp thread_init
Per-thread initialization function.
 
long fltmod_version
Module interface version.