| 32 | typedef struct list_head cdb_dict_t; /* list of cdb_pair_t */ |
| 33 | |
| 34 | static inline void cdb_dict_init(cdb_dict_t *dict) |
| 35 | { |
| 36 | INIT_LIST_HEAD(dict); |
| 37 | } |
| 38 | |
| 39 | int cdb_dict_add_str(cdb_dict_t *dest, const char *key, int key_len, |
| 40 | const str *val); |