1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/apps/public/vsftpd-2.3.2/hash.h
2024-07-22 01:58:46 -03:00

16 lines
469 B
C

#ifndef VSFTP_HASH_H
#define VSFTP_HASH_H
struct hash;
typedef unsigned int (*hashfunc_t)(unsigned int, void*);
struct hash* hash_alloc(unsigned int buckets, unsigned int key_size,
unsigned int value_size, hashfunc_t hash_func);
void* hash_lookup_entry(struct hash* p_hash, void* p_key);
void hash_add_entry(struct hash* p_hash, void* p_key, void* p_value);
void hash_free_entry(struct hash* p_hash, void* p_key);
#endif /* VSFTP_HASH_H */