typedef axl_bool(* ModInitFunc)(MyQttdCtx *ctx)

Public definition for the init function that must implement a myqttd module.

The module must return axl_true to signal the modules was properly initialized so myqttd can register it as usable.

This handler is called only once at myqttd startup.

Parameters
ctxThe myqttd context where the init operation is taking place.
Returns
axl_true if the module is usable or axl_false if not. Returning axl_false caused the module to be not loaded.