From fa2dad63d40078b423bfd9c2a56c59a606e81ed5 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 26 Apr 2017 15:23:55 +0200 Subject: [PATCH] fix(lpconfig): in `linphone_config_load_from_xml_file`, replace `LpConfig` by `LinphoneConfig` --- coreapi/lpconfig.c | 2 +- include/linphone/lpconfig.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.