1 #ifndef _GLX_HASH_H_
2 #define _GLX_HASH_H_
3 
4 
5 typedef struct __glxHashTable __glxHashTable;
6 
7 /* Hash table routines */
8 extern __glxHashTable *__glxHashCreate(void);
9 extern int __glxHashDestroy(__glxHashTable * t);
10 extern int __glxHashLookup(__glxHashTable * t, unsigned long key,
11                            void **value);
12 extern int __glxHashInsert(__glxHashTable * t, unsigned long key,
13                            void *value);
14 extern int __glxHashDelete(__glxHashTable * t, unsigned long key);
15 extern int __glxHashFirst(__glxHashTable * t, unsigned long *key,
16                           void **value);
17 extern int __glxHashNext(__glxHashTable * t, unsigned long *key,
18                          void **value);
19 
20 #endif /* _GLX_HASH_H_ */
21