hash_table
const HashValue *hash_table = _nc_get_hash_table(termcap);
entry_ptr = _nc_find_entry(table[n], hash_table);
const HashValue * hash_table)
bool termcap = (hash_table != _nc_get_hash_table(FALSE));
HashValue * hash_table,
hash_table[i] = UNUSED;
if (hash_table[hashvalue] >= 0)
if (hash_table[hashvalue] != UNUSED) {
table[i].ute_link = hash_table[hashvalue];
hash_table[hashvalue] = (HashValue) i;
HashValue *hash_table = typeCalloc(HashValue, HASHTABSIZE);
|| hash_table == 0) {
_nc_make_hash_table(name_table, hash_table, tablesize);
printf("\t%3d,\n", hash_table[n]);
free(hash_table);
struct hash_table created_directories;
struct hash_table created_cvs_directories;
hash_table_init(struct hash_table *htable, size_t hsize)
hash_table_enter(struct hash_table *htable, struct hash_data *e)
hash_table_find(struct hash_table *htable, const char *key, size_t len)
void hash_table_init(struct hash_table *, size_t);
void hash_table_enter(struct hash_table *, struct hash_data *);
struct hash_data *hash_table_find(struct hash_table *, const char *, size_t);
extern struct hash_table created_directories;
extern struct hash_table created_cvs_directories;
static struct hash_entry *findsym (const char *sym, hash_table table,
static int addsym PROTO ((char[], char *, int, hash_table, int));
hash_table table,
static int addsym (char sym[], char *str_def, int int_def, hash_table table,
struct hash_table *new_hash(void);
void add_hash(struct hash_table *, unsigned char *, int, unsigned char *);
void delete_hash_entry(struct hash_table *, unsigned char *, int);
unsigned char *hash_lookup(struct hash_table *, unsigned char *, int);
extern struct hash_table universe_hash;
delete_hash_entry(struct hash_table *table, unsigned char *name, int len)
hash_lookup(struct hash_table *table, unsigned char *name, int len)
struct hash_table *
struct hash_table *rv;
rv = calloc(1, sizeof(struct hash_table));
add_hash(struct hash_table *table, unsigned char *name, int len,
static struct hash_table *host_hw_addr_hash;
static struct hash_table *host_uid_hash;
static struct hash_table *lease_uid_hash;
static struct hash_table *lease_ip_addr_hash;
static struct hash_table *lease_hw_addr_hash;
static struct hash_table *vendor_class_hash;
static struct hash_table *user_class_hash;
struct hash_table universe_hash;
struct hash_table *hash;
hash_lookup(hash_table *htbl, const void *k)
hash_insert(hash_table *htbl, const void *k, void *i)
hash_delete(hash_table *htbl, const void *k, int memfree)
hash_delete_all(hash_table *htbl, int memfree)
hash_free(hash_table *htbl)
hash_table *
hash_table *htbl;
htbl = malloc(sizeof(hash_table));
hash_first(hash_table *htbl)
hash_next(hash_table *htbl)
hash_table *hash_create(int (*)(const void *, const void *), uint32_t (*) (const void *, int), int);
hash_link *hash_first(hash_table *);
hash_link *hash_next(hash_table *);
hash_link *hash_lookup(hash_table *, const void *);
int hash_insert(hash_table *, const void *, void *);
int hash_delete(hash_table *, const void *, int);
void hash_delete_all(hash_table *, int);
void hash_free(hash_table *);
hash_table *ctrl_map;
hash_table *map_user_ppp;
hash_table *session_hash;
hash_table *acookie_hash;
hash_table *call_id_map; /* table to map between callid and call */