diff --git a/coreapi/lpconfig.c b/coreapi/lpconfig.c index e41a20116..d83df8740 100644 --- a/coreapi/lpconfig.c +++ b/coreapi/lpconfig.c @@ -500,7 +500,7 @@ static char* _linphone_config_xml_convert(LpConfig *lpc, xml2lpc_context *contex return error_msg; } -char* linphone_config_load_from_xml_file(LpConfig *lpc, const char *filename, void* lc, void* ctx) { +char* linphone_config_load_from_xml_file(LinphoneConfig *lpc, const char *filename, void* lc, void* ctx) { xml2lpc_context *context = NULL; char* path = lp_realpath(filename, NULL); char* error_msg = NULL; diff --git a/include/linphone/lpconfig.h b/include/linphone/lpconfig.h index 8da6d23bf..518045bfb 100644 --- a/include/linphone/lpconfig.h +++ b/include/linphone/lpconfig.h @@ -90,7 +90,7 @@ LINPHONE_PUBLIC LinphoneStatus linphone_config_read_file(LinphoneConfig *lpconfi * @param lc LinphoneCore to share with xml2lpc * @param ctx The context given to xml2lpc callback */ -LINPHONE_PUBLIC char* linphone_config_load_from_xml_file(LpConfig *lpc, const char *filename, void* lc, void* ctx); +LINPHONE_PUBLIC char* linphone_config_load_from_xml_file(LinphoneConfig *lpc, const char *filename, void* lc, void* ctx); /** * Reads a xml config string and fill the LinphoneConfig with the read config dynamic values.