haproxy/include/proto/dict.h
Frédéric Lécaille 4a3fef834c MINOR: dict: Add dictionary new data structure.
This patch adds minimalistic definitions to implement dictionary new data structure
which is an ebtree of ebpt_node structs with strings as keys. Note that this has nothing
to see with real dictionary data structure (maps of keys in association with values).
2019-06-05 08:33:35 +02:00

10 lines
199 B
C

#ifndef _PROTO_DICT_H
#define _PROTO_DICT_H
#include <types/dict.h>
struct dict *new_dict(const char *name);
struct dict_entry *dict_insert(struct dict *d, char *str);
#endif /* _PROTO_DICT_H */