void myqttd_module_unload ( MyQttdCtx ctx,
const char *  module 
)

Allows to close the provided module, unloading from memory and removing all registration references.

The function do not perform any module space notification. The function makes use of the unload function implemented by modules (if defined).

Parameters
ctxThe context where the module must be removed.
moduleThe module name to be unloaded.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().