Chromium Embedded Framework (CEF)  131.2.1+ge081753+chromium-131.0.6778.13
cef_string_multimap.h File Reference

Typedefs

typedef struct _cef_string_multimap_t * cef_string_multimap_t
 CEF string multimaps are a set of key/value string pairs. More...
 

Functions

CEF_EXPORT cef_string_multimap_t cef_string_multimap_alloc (void)
 Allocate a new string multimap. More...
 
CEF_EXPORT size_t cef_string_multimap_size (cef_string_multimap_t map)
 Return the number of elements in the string multimap. More...
 
CEF_EXPORT size_t cef_string_multimap_find_count (cef_string_multimap_t map, const cef_string_t *key)
 Return the number of values with the specified key. More...
 
CEF_EXPORT int cef_string_multimap_enumerate (cef_string_multimap_t map, const cef_string_t *key, size_t value_index, cef_string_t *value)
 Return the value_index-th value with the specified key. More...
 
CEF_EXPORT int cef_string_multimap_key (cef_string_multimap_t map, size_t index, cef_string_t *key)
 Return the key at the specified zero-based string multimap index. More...
 
CEF_EXPORT int cef_string_multimap_value (cef_string_multimap_t map, size_t index, cef_string_t *value)
 Return the value at the specified zero-based string multimap index. More...
 
CEF_EXPORT int cef_string_multimap_append (cef_string_multimap_t map, const cef_string_t *key, const cef_string_t *value)
 Append a new key/value pair at the end of the string multimap. More...
 
CEF_EXPORT void cef_string_multimap_clear (cef_string_multimap_t map)
 Clear the string multimap. More...
 
CEF_EXPORT void cef_string_multimap_free (cef_string_multimap_t map)
 Free the string multimap. More...
 

Typedef Documentation

◆ cef_string_multimap_t

typedef struct _cef_string_multimap_t* cef_string_multimap_t

CEF string multimaps are a set of key/value string pairs.

More than one value can be assigned to a single key.

Function Documentation

◆ cef_string_multimap_alloc()

CEF_EXPORT cef_string_multimap_t cef_string_multimap_alloc ( void  )

Allocate a new string multimap.

◆ cef_string_multimap_append()

CEF_EXPORT int cef_string_multimap_append ( cef_string_multimap_t  map,
const cef_string_t key,
const cef_string_t value 
)

Append a new key/value pair at the end of the string multimap.

◆ cef_string_multimap_clear()

CEF_EXPORT void cef_string_multimap_clear ( cef_string_multimap_t  map)

Clear the string multimap.

◆ cef_string_multimap_enumerate()

CEF_EXPORT int cef_string_multimap_enumerate ( cef_string_multimap_t  map,
const cef_string_t key,
size_t  value_index,
cef_string_t value 
)

Return the value_index-th value with the specified key.

◆ cef_string_multimap_find_count()

CEF_EXPORT size_t cef_string_multimap_find_count ( cef_string_multimap_t  map,
const cef_string_t key 
)

Return the number of values with the specified key.

◆ cef_string_multimap_free()

CEF_EXPORT void cef_string_multimap_free ( cef_string_multimap_t  map)

Free the string multimap.

◆ cef_string_multimap_key()

CEF_EXPORT int cef_string_multimap_key ( cef_string_multimap_t  map,
size_t  index,
cef_string_t key 
)

Return the key at the specified zero-based string multimap index.

◆ cef_string_multimap_size()

CEF_EXPORT size_t cef_string_multimap_size ( cef_string_multimap_t  map)

Return the number of elements in the string multimap.

◆ cef_string_multimap_value()

CEF_EXPORT int cef_string_multimap_value ( cef_string_multimap_t  map,
size_t  index,
cef_string_t value 
)

Return the value at the specified zero-based string multimap index.