MyQttdModule* myqttd_module_open ( MyQttdCtx ctx,
const char *  module 
)

Loads a myqttd module, from the provided path.

Parameters
ctxThe context where the module will be opened.
moduleThe module path to load.
Returns
A reference to the module loaded or NULL if it fails.

References error, msg, and myqttd_module_free().

Referenced by myqttd_module_open_and_register().