void myqttd_module_skip_unmap ( MyQttdCtx ctx,
const char *  mod_name 
)

Allows to mark a module to not be unmapped when module is closed.

Parameters
ctxThe context that will be configured.
mod_nameThe module name to skip unmapping.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().