Lua implementations use the following interface:
function mod:mm7_pre_submit(msg)
The parameter "msg" is an ec_message. Lua implementations must use the function name mod:mm7_pre_submit
.
C implementations use the following interface:
static void sample_mm7_submit_req_hook (void *gself, ec_message * m)
Note that in C, unlike Lua, the function name is not significant since the function is registered during module initialization See “MM7 MT Submit Request Hook: C Example”.
This hook does not return any values.
Was this page helpful?