blob: 9e4f41a68b4ac6c3eddc2aa818313cf2120386ef [file] [log] [blame]
Frédéric Lécaille4a3fef82019-05-28 14:47:17 +02001#ifndef _TYPES_DICT_H
2#define _TYPES_DICT_H
3
4#include <common/hathreads.h>
5#include <ebpttree.h>
6
7struct dict_entry {
8 struct ebpt_node value;
9 unsigned int refcount;
10};
11
12struct dict {
13 const char *name;
14 struct eb_root values;
15 __decl_hathreads(HA_RWLOCK_T rwlock);
16};
17
18#endif /* _TYPES_DICT_H */