Chromium Embedded Framework (CEF)
131.2.1+ge081753+chromium-131.0.6778.13
|
Typedefs | |
typedef struct _cef_string_map_t * | cef_string_map_t |
CEF string maps are a set of key/value string pairs. More... | |
Functions | |
CEF_EXPORT cef_string_map_t | cef_string_map_alloc (void) |
Allocate a new string map. More... | |
CEF_EXPORT size_t | cef_string_map_size (cef_string_map_t map) |
Return the number of elements in the string map. More... | |
CEF_EXPORT int | cef_string_map_find (cef_string_map_t map, const cef_string_t *key, cef_string_t *value) |
Return the value assigned to the specified key. More... | |
CEF_EXPORT int | cef_string_map_key (cef_string_map_t map, size_t index, cef_string_t *key) |
Return the key at the specified zero-based string map index. More... | |
CEF_EXPORT int | cef_string_map_value (cef_string_map_t map, size_t index, cef_string_t *value) |
Return the value at the specified zero-based string map index. More... | |
CEF_EXPORT int | cef_string_map_append (cef_string_map_t map, const cef_string_t *key, const cef_string_t *value) |
Append a new key/value pair at the end of the string map. More... | |
CEF_EXPORT void | cef_string_map_clear (cef_string_map_t map) |
Clear the string map. More... | |
CEF_EXPORT void | cef_string_map_free (cef_string_map_t map) |
Free the string map. More... | |
typedef struct _cef_string_map_t* cef_string_map_t |
CEF string maps are a set of key/value string pairs.
CEF_EXPORT cef_string_map_t cef_string_map_alloc | ( | void | ) |
Allocate a new string map.
CEF_EXPORT int cef_string_map_append | ( | cef_string_map_t | map, |
const cef_string_t * | key, | ||
const cef_string_t * | value | ||
) |
Append a new key/value pair at the end of the string map.
If the key exists, overwrite the existing value with a new value w/o changing the pair order.
CEF_EXPORT void cef_string_map_clear | ( | cef_string_map_t | map | ) |
Clear the string map.
CEF_EXPORT int cef_string_map_find | ( | cef_string_map_t | map, |
const cef_string_t * | key, | ||
cef_string_t * | value | ||
) |
Return the value assigned to the specified key.
CEF_EXPORT void cef_string_map_free | ( | cef_string_map_t | map | ) |
Free the string map.
CEF_EXPORT int cef_string_map_key | ( | cef_string_map_t | map, |
size_t | index, | ||
cef_string_t * | key | ||
) |
Return the key at the specified zero-based string map index.
CEF_EXPORT size_t cef_string_map_size | ( | cef_string_map_t | map | ) |
Return the number of elements in the string map.
CEF_EXPORT int cef_string_map_value | ( | cef_string_map_t | map, |
size_t | index, | ||
cef_string_t * | value | ||
) |
Return the value at the specified zero-based string map index.