Dictionary data structure
More...
Dictionary data structure
◆ SPA_DICT_ITEM
#define SPA_DICT_ITEM |
( |
| key, |
|
|
| value ) |
Value:
const char * key
Definition dict.h:42
const char * value
Definition dict.h:43
- Examples
- video-src.c.
◆ SPA_DICT_ITEM_INIT
#define SPA_DICT_ITEM_INIT |
( |
| key, |
|
|
| value ) |
◆ SPA_DICT_FLAG_SORTED
#define SPA_DICT_FLAG_SORTED (1<<0) |
◆ SPA_DICT
#define SPA_DICT |
( |
| items, |
|
|
| n_items ) |
Value:
const struct spa_dict_item * items
Definition dict.h:56
uint32_t n_items
Definition dict.h:55
◆ SPA_DICT_ARRAY
#define SPA_DICT_ARRAY |
( |
| items | ) |
|
Value:
#define SPA_DICT(items, n_items)
Definition dict.h:60
#define SPA_N_ELEMENTS(arr)
Definition defs.h:143
◆ SPA_DICT_ITEMS
#define SPA_DICT_ITEMS |
( |
| ... | ) |
|
Value:
#define SPA_DICT_ARRAY(items)
Definition dict.h:62
- Examples
- video-src.c.
◆ SPA_DICT_INIT
#define SPA_DICT_INIT |
( |
| items, |
|
|
| n_items ) |
◆ SPA_DICT_INIT_ARRAY
#define SPA_DICT_INIT_ARRAY |
( |
| items | ) |
|
◆ spa_dict_for_each
#define spa_dict_for_each |
( |
| item, |
|
|
| dict ) |
◆ spa_dict_item_compare()
SPA_API_DICT int spa_dict_item_compare |
( |
const void * | i1, |
|
|
const void * | i2 ) |
◆ spa_dict_qsort()
◆ spa_dict_lookup_item()
◆ spa_dict_lookup()