1 #ifndef _TYPES_DICT_H 2 #define _TYPES_DICT_H 3 4 #include <common/hathreads.h> 5 #include <ebpttree.h> 6 7 struct dict_entry { 8 struct ebpt_node value; 9 unsigned int refcount; 10 size_t len; 11 }; 12 13 struct dict { 14 const char *name; 15 struct eb_root values; 16 __decl_hathreads(HA_RWLOCK_T rwlock); 17 }; 18 19 #endif /* _TYPES_DICT_H */ 20