Dictionary data structure.
More...
Dictionary data structure.
#define SPA_DICT_ITEM_INIT |
( |
|
key, |
|
|
|
value |
|
) |
| (struct spa_dict_item) { key, value } |
#define SPA_DICT_FLAG_SORTED (1<<0) |
#define SPA_DICT_INIT |
( |
|
items, |
|
|
|
n_items |
|
) |
| (struct spa_dict) { 0, n_items, items } |
#define spa_dict_for_each |
( |
|
item, |
|
|
|
dict |
|
) |
| |
static int spa_dict_item_compare |
( |
const void * |
i1, |
|
|
const void * |
i2 |
|
) |
| |
|
inlinestatic |
static void spa_dict_qsort |
( |
struct spa_dict * |
dict | ) |
|
|
inlinestatic |
static const struct spa_dict_item* spa_dict_lookup_item |
( |
const struct spa_dict * |
dict, |
|
|
const char * |
key |
|
) |
| |
|
static |
static const char* spa_dict_lookup |
( |
const struct spa_dict * |
dict, |
|
|
const char * |
key |
|
) |
| |
|
inlinestatic |