function mod:smpp_log_conversion(conn, msg, event)
static void sample_smpp_log_conversion_hook (void *closure,
smpp_conn* conn, ec_message * m, const char* event)
This interface is the same as other C hooks. The function name is not significant as long as it is registered as smpp_log_conversion as "register_smpp_log_conversion_hook_first(sample_smpp_log_conversion, ...)" during module initialization. See “Examples”.
-
a reference to the smpp_conn structure
-
an ec_message
-
an event string: "smpp to ec_message" for MO, and "ec_message to smpp" for MT
NONE
Was this page helpful?