Liblinphone 5.3.0
|
Typedefs | |
typedef struct _LinphoneDictionary | LinphoneDictionary |
Object that represents key-value pair container. | |
Functions | |
LinphoneDictionary * | linphone_dictionary_clone (const LinphoneDictionary *src) |
Instantiates a new dictionary with values from source. | |
LinphoneDictionary * | linphone_dictionary_ref (LinphoneDictionary *dict) |
Take a reference on a LinphoneDictionary. | |
void | linphone_dictionary_unref (LinphoneDictionary *dict) |
Release a LinphoneDictionary. | |
void | linphone_dictionary_set_float (LinphoneDictionary *dict, const char *key, float value) |
Sets a float value to a key. | |
float | linphone_dictionary_get_float (const LinphoneDictionary *dict, const char *key) |
Gets the float value of a key. | |
void | linphone_dictionary_set_int (LinphoneDictionary *dict, const char *key, int value) |
Sets a int value to a key. | |
int | linphone_dictionary_get_int (const LinphoneDictionary *dict, const char *key) |
Gets the int value of a key. | |
void | linphone_dictionary_set_string (LinphoneDictionary *dict, const char *key, const char *value) |
Sets a char* value to a key. | |
const char * | linphone_dictionary_get_string (const LinphoneDictionary *dict, const char *key) |
Gets the char* value of a key. | |
void | linphone_dictionary_set_int64 (LinphoneDictionary *dict, const char *key, int64_t value) |
Sets a int64 value to a key. | |
int64_t | linphone_dictionary_get_int64 (const LinphoneDictionary *dict, const char *key) |
Gets the int64 value of a key. | |
LinphoneStatus | linphone_dictionary_remove (LinphoneDictionary *dict, const char *key) |
Removes the pair of the key. | |
void | linphone_dictionary_clear (LinphoneDictionary *dict) |
Clears the dictionary. | |
LinphoneStatus | linphone_dictionary_has_key (const LinphoneDictionary *dict, const char *key) |
Search if the key is present in the dictionary. | |
Managing Dictionary.
void linphone_dictionary_clear | ( | LinphoneDictionary * | dict | ) |
Clears the dictionary.
dict | The LinphoneDictionary object. |
LinphoneDictionary * linphone_dictionary_clone | ( | const LinphoneDictionary * | src | ) |
Instantiates a new dictionary with values from source.
src | The LinphoneDictionary object to be cloned. |
float linphone_dictionary_get_float | ( | const LinphoneDictionary * | dict, |
const char * | key ) |
Gets the float value of a key.
dict | The LinphoneDictionary object. |
key | The key. |
int linphone_dictionary_get_int | ( | const LinphoneDictionary * | dict, |
const char * | key ) |
Gets the int value of a key.
dict | The LinphoneDictionary object. |
key | The key. |
int64_t linphone_dictionary_get_int64 | ( | const LinphoneDictionary * | dict, |
const char * | key ) |
Gets the int64 value of a key.
dict | The LinphoneDictionary object. |
key | The key. |
const char * linphone_dictionary_get_string | ( | const LinphoneDictionary * | dict, |
const char * | key ) |
Gets the char* value of a key.
dict | The LinphoneDictionary object. |
key | The key. |
LinphoneStatus linphone_dictionary_has_key | ( | const LinphoneDictionary * | dict, |
const char * | key ) |
Search if the key is present in the dictionary.
dict | The LinphoneDictionary object. |
key | The key. |
LinphoneDictionary * linphone_dictionary_ref | ( | LinphoneDictionary * | dict | ) |
Take a reference on a LinphoneDictionary.
dict | The LinphoneDictionary object. |
LinphoneStatus linphone_dictionary_remove | ( | LinphoneDictionary * | dict, |
const char * | key ) |
Removes the pair of the key.
dict | The LinphoneDictionary object. |
key | The key. |
void linphone_dictionary_set_float | ( | LinphoneDictionary * | dict, |
const char * | key, | ||
float | value ) |
Sets a float value to a key.
dict | The LinphoneDictionary object. |
key | The key. |
value | The int value. |
void linphone_dictionary_set_int | ( | LinphoneDictionary * | dict, |
const char * | key, | ||
int | value ) |
Sets a int value to a key.
dict | The LinphoneDictionary object. |
key | The key. |
value | The int value. |
void linphone_dictionary_set_int64 | ( | LinphoneDictionary * | dict, |
const char * | key, | ||
int64_t | value ) |
Sets a int64 value to a key.
dict | The LinphoneDictionary object. |
key | The key. |
value | The int64 value. |
void linphone_dictionary_set_string | ( | LinphoneDictionary * | dict, |
const char * | key, | ||
const char * | value ) |
Sets a char* value to a key.
dict | The LinphoneDictionary object. |
key | The key. |
value | The char* value. |
void linphone_dictionary_unref | ( | LinphoneDictionary * | dict | ) |
Release a LinphoneDictionary.
dict | The LinphoneDictionary object. |