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