void myqttd_run_load_modules_from_path ( MyQttdCtx ctx,
const char *  path,
DIR *  dirHandle 
)

Tries to load all modules found at the directory already located.

In fact the function searches for xml files that points to modules to be loaded.

Parameters
ctxMyQttd context.
pathThe path that was used to open the dirHandle.
dirHandleThe directory that will be inspected for modules.

References error, FILE_IS_REGULAR, msg, msg2, myqtt_support_build_filename(), myqtt_support_file_test(), myqttd_file_name(), myqttd_module_open_and_register(), and wrn.