Skip to main content

Function Interface for Lua

function mod:smpp_log_tempfail(conn, msg, error)

Function Interface for C

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:

  1. a reference to the smpp_conn structure

  2. an ec_message.

  3. a string value of the error description if there is any.

Return Values


Was this page helpful?