static void sample_mm7_log_permfail_hook (void *closure, ec_message * m)
This hook is the same as the other C hooks. The function name is not significant as long as it is registered as
mms_log_permfail during module initialization in the following way
register_mms_log_permfail_hook_first(sampel_mm7_log_permfail, ...). See “MM7 Log Permfail Hook: C Example”.
The parameters passed into this hook:
- ec_message – Most of MM7 related data is stored in context variables as key/value pairs. All the data stored in ec_message are accessible from this hook and can be logged as needed.