diff --git a/coreapi/lpconfig.h b/coreapi/lpconfig.h index 2e3a99d60..c69f3d999 100644 --- a/coreapi/lpconfig.h +++ b/coreapi/lpconfig.h @@ -106,8 +106,13 @@ LINPHONE_PUBLIC const char *lp_config_get_string(const LpConfig *lpconfig, const /** * Retrieves a configuration item as a list of strings, given its section, key, and default value. + * The default value is returned if the config item is not found. * @ingroup misc - * The default value is returned if the config item isn't found. + * @param[in] lpconfig A LpConfig object + * @param[in] section The section from which to retrieve a configuration item + * @param[in] key The name of the configuration item to retrieve + * @param[in] default_list \mslist{const char *} + * @return \mslist{const char *} */ LINPHONE_PUBLIC MSList * lp_config_get_string_list(const LpConfig *lpconfig, const char *section, const char *key, MSList *default_list); @@ -154,6 +159,10 @@ LINPHONE_PUBLIC void lp_config_set_string(LpConfig *lpconfig,const char *section /** * Sets a string list config item * @ingroup misc + * @param[in] lpconfig A LpConfig object + * @param[in] section The name of the section to put the configuration item into + * @param[in] key The name of the configuration item to set + * @param[in] value \mslist{const char *} The value to set */ LINPHONE_PUBLIC void lp_config_set_string_list(LpConfig *lpconfig, const char *section, const char *key, const MSList *value); diff --git a/tools/python/apixml2python.py b/tools/python/apixml2python.py index ba4fa7a72..3151a2aed 100755 --- a/tools/python/apixml2python.py +++ b/tools/python/apixml2python.py @@ -47,6 +47,7 @@ blacklisted_functions = [ 'linphone_core_can_we_add_call', # private function 'linphone_core_enable_log_collection', # need to handle class properties 'linphone_core_get_audio_port_range', # to be handwritten because of result via arguments + 'linphone_core_get_network_simulator_params', # missing OrtpNetworkSimulatorParams 'linphone_core_get_supported_video_sizes', # missing MSVideoSizeDef 'linphone_core_get_video_policy', # missing LinphoneVideoPolicy 'linphone_core_get_video_port_range', # to be handwritten because of result via arguments @@ -60,6 +61,7 @@ blacklisted_functions = [ 'linphone_core_set_log_handler', # Hand-written but put directly in the linphone module 'linphone_core_set_log_level', # There is no use to wrap this function 'linphone_core_set_log_level_mask', # There is no use to wrap this function + 'linphone_core_set_network_simulator_params', # missing OrtpNetworkSimulatorParams 'linphone_core_set_video_policy', # missing LinphoneVideoPolicy 'linphone_proxy_config_get_privacy', # missing LinphonePrivacyMask 'linphone_proxy_config_normalize_number', # to be handwritten because of result via arguments