00001 #ifndef XHT_H
00002 #define XHT_H
00003
00009 typedef struct xht_struct *xht;
00010
00016 xht xht_new(int);
00017
00018
00019
00020 void xht_set(xht h, const char *key, void *val);
00021
00022
00023 void xht_store(xht h, const char *key, int klen, void *val, int vlen);
00024
00025
00026 void *xht_get(xht h, const char *key);
00027
00028
00029 void xht_free(xht h);
00030
00031
00032 typedef void (*xht_walker)(xht h, const char *key, void *val, void *arg);
00033 void xht_walk(xht h, xht_walker w, void *arg);
00034
00035 #endif
00036