Chromium Embedded Framework (CEF)  126.2.0+g5c56e98+chromium-126.0.6478.62
cef_string_list.h File Reference

Typedefs

typedef struct _cef_string_list_t * cef_string_list_t
 CEF string maps are a set of key/value string pairs. More...
 

Functions

CEF_EXPORT cef_string_list_t cef_string_list_alloc (void)
 Allocate a new string map. More...
 
CEF_EXPORT size_t cef_string_list_size (cef_string_list_t list)
 Return the number of elements in the string list. More...
 
CEF_EXPORT int cef_string_list_value (cef_string_list_t list, size_t index, cef_string_t *value)
 Retrieve the value at the specified zero-based string list index. More...
 
CEF_EXPORT void cef_string_list_append (cef_string_list_t list, const cef_string_t *value)
 Append a new value at the end of the string list. More...
 
CEF_EXPORT void cef_string_list_clear (cef_string_list_t list)
 Clear the string list. More...
 
CEF_EXPORT void cef_string_list_free (cef_string_list_t list)
 Free the string list. More...
 
CEF_EXPORT cef_string_list_t cef_string_list_copy (cef_string_list_t list)
 Creates a copy of an existing string list. More...
 

Typedef Documentation

◆ cef_string_list_t

typedef struct _cef_string_list_t* cef_string_list_t

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

Function Documentation

◆ cef_string_list_alloc()

CEF_EXPORT cef_string_list_t cef_string_list_alloc ( void  )

Allocate a new string map.

◆ cef_string_list_append()

CEF_EXPORT void cef_string_list_append ( cef_string_list_t  list,
const cef_string_t value 
)

Append a new value at the end of the string list.

◆ cef_string_list_clear()

CEF_EXPORT void cef_string_list_clear ( cef_string_list_t  list)

Clear the string list.

◆ cef_string_list_copy()

CEF_EXPORT cef_string_list_t cef_string_list_copy ( cef_string_list_t  list)

Creates a copy of an existing string list.

◆ cef_string_list_free()

CEF_EXPORT void cef_string_list_free ( cef_string_list_t  list)

Free the string list.

◆ cef_string_list_size()

CEF_EXPORT size_t cef_string_list_size ( cef_string_list_t  list)

Return the number of elements in the string list.

◆ cef_string_list_value()

CEF_EXPORT int cef_string_list_value ( cef_string_list_t  list,
size_t  index,
cef_string_t value 
)

Retrieve the value at the specified zero-based string list index.

Returns true (1) if the value was successfully retrieved.