Liblinphone
5.4.0
|
Managing Dictionary. More...
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. More... | |
LinphoneDictionary * | linphone_dictionary_ref (LinphoneDictionary *dict) |
Take a reference on a LinphoneDictionary. More... | |
void | linphone_dictionary_unref (LinphoneDictionary *dict) |
Release a LinphoneDictionary. More... | |
void | linphone_dictionary_set_float (LinphoneDictionary *dict, const char *key, float value) |
Sets a float value to a key. More... | |
float | linphone_dictionary_get_float (const LinphoneDictionary *dict, const char *key) |
Gets the float value of a key. More... | |
void | linphone_dictionary_set_int (LinphoneDictionary *dict, const char *key, int value) |
Sets a int value to a key. More... | |
int | linphone_dictionary_get_int (const LinphoneDictionary *dict, const char *key) |
Gets the int value of a key. More... | |
void | linphone_dictionary_set_string (LinphoneDictionary *dict, const char *key, const char *value) |
Sets a char* value to a key. More... | |
const char * | linphone_dictionary_get_string (const LinphoneDictionary *dict, const char *key) |
Gets the char* value of a key. More... | |
void | linphone_dictionary_set_int64 (LinphoneDictionary *dict, const char *key, int64_t value) |
Sets a int64 value to a key. More... | |
int64_t | linphone_dictionary_get_int64 (const LinphoneDictionary *dict, const char *key) |
Gets the int64 value of a key. More... | |
void | linphone_dictionary_set_buffer (LinphoneDictionary *dict, const char *key, LinphoneBuffer *value) |
Sets a LinphoneBuffer value to a key. More... | |
LinphoneBuffer * | linphone_dictionary_get_buffer (const LinphoneDictionary *dict, const char *key) |
Gets the LinphoneBuffer value of a key. More... | |
LinphoneStatus | linphone_dictionary_remove (LinphoneDictionary *dict, const char *key) |
Removes the pair of the key. More... | |
void | linphone_dictionary_clear (LinphoneDictionary *dict) |
Clears the dictionary. More... | |
LinphoneStatus | linphone_dictionary_has_key (const LinphoneDictionary *dict, const char *key) |
Search if the key is present in the dictionary. More... | |
bctbx_list_t * | linphone_dictionary_get_keys (const LinphoneDictionary *dict) |
Returns the list of keys present in the dictionary. More... | |
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. |
LinphoneBuffer* linphone_dictionary_get_buffer | ( | const LinphoneDictionary * | dict, |
const char * | key | ||
) |
Gets the LinphoneBuffer value of a key.
dict | The LinphoneDictionary object. |
key | The key. |
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. |
bctbx_list_t* linphone_dictionary_get_keys | ( | const LinphoneDictionary * | dict | ) |
Returns the list of keys present in the dictionary.
dict | The LinphoneDictionary object. |
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_buffer | ( | LinphoneDictionary * | dict, |
const char * | key, | ||
LinphoneBuffer * | value | ||
) |
Sets a LinphoneBuffer value to a key.
dict | The LinphoneDictionary object. |
key | The key. |
value | The LinphoneBuffer value. |
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 value. |
void linphone_dictionary_unref | ( | LinphoneDictionary * | dict | ) |
Release a LinphoneDictionary.
dict | The LinphoneDictionary object. |