Skip to main content

Function Interface for Lua

function mod:mms_log_conversion(msg)

Function Interface for C

static void sample_mm7_log_conversion_hook (void  *closure,
ec_message * m)

As with the other C hooks, the function name is not significant as long as it is registered as mms_log_conversion as follows register_mms_log_conversion_hook_first(sampel_mm7_log_conversion, ...) during module initialization. See “MM7 Log Conversion Hook: C Example”..

Parameters

  • an ec_message.

Return Values

NONE

Was this page helpful?