liblinphone  3.7.0
Functions
Linphone_dict

Functions

LinphoneDictionary * lp_config_section_to_dict (const LpConfig *lpconfig, const char *section)
 
void lp_config_load_dict_to_section (LpConfig *lpconfig, const char *section, const LinphoneDictionary *dict)
 

Detailed Description

Function Documentation

LinphoneDictionary* lp_config_section_to_dict ( const LpConfig lpconfig,
const char *  section 
)

Converts a config section into a dictionary.

Returns
a #LinphoneDictionary with all the keys from a section, or NULL if the section doesn't exist
void lp_config_load_dict_to_section ( LpConfig lpconfig,
const char *  section,
const LinphoneDictionary *  dict 
)

Loads a dictionary into a section of the lpconfig. If the section doesn't exist it is created. Overwrites existing keys, creates non-existing keys.