25 #ifndef __ZE_MODULES_H 27 #define MOD_API_MAJOR 0x00 28 #define MOD_API_MINOR 0x02 29 #define MOD_API_PATCH 0x00 31 #define MOD_VERSION ((MOD_API_MAJOR << 16) | (MOD_API_MINOR << 8) | MOD_API_PATCH) 33 #define MOD_API_VERSION "0.01.00" 35 #define MODR_CONTINUE 0x0000 36 #define MODR_REJECT 0x0001 37 #define MODR_TEMPFAIL 0x0002 39 #define MODF_QUARANTINE 0x0100 40 #define MODF_STOP_CHECKS 0x0200 42 #define MOD_QUARANTINE(flag) (((flag) & MODF_QUARANTINE) != 0) 43 #define MOD_STOP_CHECKS(flag) (((flag) & MODF_STOP_CHECKS) != 0) 95 # define __ZE_MODULES_H 1
bool module_service(int why)
msg_scores_T * raw_scores
msg_scores_T * net_scores
bool module_call(int callback, int step, mod_ctx_T *arg)
bool load_all_modules(char *cfdir, char *modcf, char *moddir)