1 #ifndef SDB_HT_UP_H 2 #define SDB_HT_UP_H 3 4 /* 5 * This header provides an hashtable HtUP that has ut64 as key and void* as 6 * value. The API functions starts with "ht_up_" and the types starts with "HtUP". 7 */ 8 #undef HT_TYPE 9 #define HT_TYPE 2 10 #include "ht_inc.h" 11 #include "sdbht.h" 12 13 SDB_API HtName_(Ht)* Ht_(new0)(void); 14 SDB_API HtName_(Ht)* Ht_(new)(HT_(DupValue) valdup, HT_(KvFreeFunc) pair_free, HT_(CalcSizeV) valueSize); 15 SDB_API HtName_(Ht)* Ht_(new_size)(ut32 initial_size, HT_(DupValue) valdup, HT_(KvFreeFunc) pair_free, HT_(CalcSizeV) valueSize); 16 #undef HT_TYPE 17 18 #endif 19