function mod:smpp_log_permfail(conn, msg, error)
static void sample_smpp_log_permfail_hook (void *closure, smpp_conn* conn, ec_message * m, const char* error)
The C hook has to be registered as smpp_log_permfail in the following way: register_smpp_log_permfail_hook_first(sample_smpp_log_permfail, ...)
.
Parameters are passed into this hook:
-
a reference to the smpp_conn structure
-
an ec_message.
-
a string value of the error description
NONE
Was this page helpful?