function mod:smpp_log_tempfail(conn, msg, error)
static void sample_smpp_log_tempfail_hook (void *closure, smpp_conn* conn, ec_message * m, const char* error)
The C hook has to be registered as smpp_log_tempfail for example, register_smpp_log_tempfail_hook_first(sampel_smpp_log_tempfail, ...)
.
Parameters are passed into this hook:
-
a reference to the smpp_conn structure
-
an ec_message.
-
a string value of the error description if there is any.
NONE
Was this page helpful?