hash.h
1 #ifndef __pll_HASH__
2 #define __pll_HASH__
3 
4 struct pllHashItem
5 {
6  void * data;
7  char * str;
8  struct pllHashItem * next;
9 };
10 
12 {
13  unsigned int size;
14  struct pllHashItem ** Items;
15 };
16 
17 unsigned int pllHashString (const char * s, unsigned int size);
18 int pllHashAdd (struct pllHashTable * hTable, const char * s, void * item);
19 struct pllHashTable * pllHashInit (unsigned int n);
20 int pllHashSearch (struct pllHashTable * hTable, char * s, void ** item);
21 void pllHashDestroy (struct pllHashTable ** hTable, int);
22 #endif
Definition: hash.h:4
Definition: hash.h:11