Lines Matching refs:ht
547 #define ht_insert2(ht, nam1, nam2, val) ht_insrep2(ht, nam1, nam2, val, 0)
548 #define ht_insert(ht, nam, val) ht_insrep(ht, nam, val, 0)
549 #define ht_replace(ht, nam, val) ht_insrep(ht, nam, val, 1)
561 /* typed hash, named struct HT, whose type is string -> struct VT */
562 #define DECLHASH(HT, VT) \
563 struct HT; \
564 struct HT *HT##_create(void); \
565 int HT##_insert(struct HT *, const char *, struct VT *); \
566 int HT##_replace(struct HT *, const char *, struct VT *); \
567 int HT##_remove(struct HT *, const char *); \
568 struct VT *HT##_lookup(struct HT *, const char *); \
569 int HT##_enumerate(struct HT *, \