Initialize the library
#include <mm/md.h>
int mmmd_init(const char *config)
This function initializes the library by loading any metadata providers (MDPs) listed in the configuration file. You must call this function before any other libmd function to initialize the library before using it.
When reading the configuration file, the libmd library reads the dll attributes that provide the filenames of the plugins but ignores all other attributes, which may be used by the plugins later during metadata extraction.
0 Success.
-1 An error occurred (errno is set).