ArchWizard

DGD/

source navigation ]
diff markup ]
identifier search ]
file search ]
Version: [ 1.0.a0 ] [ 1.1 ] [ 1.2 ] [ 1.2p1 ] [ 1.2p2 ] [ 1.2p3 ] [ 1.2p4 ] [ 1.2.151 ]

  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 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.