6 typedef unsigned int (*hashfunc_t
)(unsigned int, void*);
8 struct hash
* hash_alloc(unsigned int buckets
, unsigned int key_size
,
9 unsigned int value_size
, hashfunc_t hash_func
);
10 void* hash_lookup_entry(struct hash
* p_hash
, void* p_key
);
11 void hash_add_entry(struct hash
* p_hash
, void* p_key
, void* p_value
);
12 void hash_free_entry(struct hash
* p_hash
, void* p_key
);
14 #endif /* VSFTP_HASH_H */