function mod:smpp_log_bounce_outband(conn, msg, error)
Lua implementations must use the function name mod:smpp_log_bounce_outband
.
static void sample_mm7_log_bounce_outband_hook (void *closure, smpp_conn* conn, ec_message * m, const char* error)
This hook is the same as the other C hooks. The function name is not significant as long as it is registered as smpp_log_bounce_outband (for example, "register_smpp_log_bounce_outband_hook_first(sample_smpp_log_bounce_outband_hook, ...)
" during module initialization as shown in “SMPP Log Outband Bounce Hook: C Example”.
-
A reference to the smpp_conn structure
-
An ec_message: the context variables #mess_xx have the same significance for this hook as for the smpp_log_status hook.
-
A string value of the error description if there is one.
NONE
Was this page helpful?