Go to the source code of this file.
|
hpd_error_t | hpd_map_alloc (hpd_map_t **map) |
|
hpd_error_t | hpd_map_first (hpd_map_t *map, hpd_pair_t **pair) |
|
hpd_error_t | hpd_map_free (hpd_map_t *map) |
|
hpd_error_t | hpd_map_get (hpd_map_t *map, const char *k, const char **v) |
|
hpd_error_t | hpd_map_get_n (hpd_map_t *map, const char *k, size_t k_len, const char **v) |
|
hpd_error_t | hpd_map_next (hpd_pair_t **pair) |
|
hpd_error_t | hpd_map_remove (hpd_map_t *map, hpd_pair_t *pair) |
|
hpd_error_t | hpd_map_set (hpd_map_t *map, const char *k, const char *v) |
|
hpd_error_t | hpd_map_set_n (hpd_map_t *map, const char *k, size_t k_len, const char *v, size_t v_len) |
|
hpd_error_t | hpd_map_v_matches (hpd_map_t *map, va_list vp) |
|
hpd_error_t | hpd_pair_get (const hpd_pair_t *pair, const char **key, const char **value) |
|
#define hpd_map_foreach |
( |
|
RC, |
|
|
|
PAIR, |
|
|
|
MAP |
|
) |
| |
Value:for ( \
!(RC) && (PAIR); \
hpd_error_t hpd_map_next(hpd_pair_t **pair)
hpd_error_t hpd_map_first(hpd_map_t *map, hpd_pair_t **pair)
Definition at line 55 of file hpd_map.h.
Definition at line 40 of file map.c.
Definition at line 52 of file map.c.
Definition at line 79 of file map.c.
Definition at line 92 of file map.c.
Definition at line 60 of file map.c.
Definition at line 68 of file map.c.
hpd_error_t hpd_map_set_n |
( |
hpd_map_t * |
map, |
|
|
const char * |
k, |
|
|
size_t |
k_len, |
|
|
const char * |
v, |
|
|
size_t |
v_len |
|
) |
| |