1 # ifndef H_HASH
2 # define H_HASH
3
4 typedef struct _hte_ {
5 struct _hte_ *next; /* next entry in hash table */
6 char *name; /* string to use in hashing */
7 } hte;
8
9 typedef struct {
10 Uint size; /* size of hash table (power of two) */
11 unsigned short maxlen; /* max length of string to be used in hashing */
12 hte *table[1]; /* hash table entries */
13 } hashtab;
14
15 extern char strhashtab[];
16 extern unsigned short hashstr P((char*, unsigned int));
17
18 extern hashtab *ht_new P((unsigned int, unsigned int));
19 extern void ht_del P((hashtab*));
20 extern hte **ht_lookup P((hashtab*, char*, int));
21
22 # endif /* H_HASH */
23
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.