From 0784c49c0f8fcc8b3abd4c9286d9fd8bc089dd7d Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 22 Nov 2015 02:46:45 +0000 Subject: import Mesa 11.0.6 --- lib/mesa/src/glx/glxhash.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/mesa/src/glx/glxhash.h (limited to 'lib/mesa/src/glx/glxhash.h') diff --git a/lib/mesa/src/glx/glxhash.h b/lib/mesa/src/glx/glxhash.h new file mode 100644 index 000000000..710712dd2 --- /dev/null +++ b/lib/mesa/src/glx/glxhash.h @@ -0,0 +1,20 @@ +#ifndef _GLX_HASH_H_ +#define _GLX_HASH_H_ + + +typedef struct __glxHashTable __glxHashTable; + +/* Hash table routines */ +extern __glxHashTable *__glxHashCreate(void); +extern int __glxHashDestroy(__glxHashTable * t); +extern int __glxHashLookup(__glxHashTable * t, unsigned long key, + void **value); +extern int __glxHashInsert(__glxHashTable * t, unsigned long key, + void *value); +extern int __glxHashDelete(__glxHashTable * t, unsigned long key); +extern int __glxHashFirst(__glxHashTable * t, unsigned long *key, + void **value); +extern int __glxHashNext(__glxHashTable * t, unsigned long *key, + void **value); + +#endif /* _GLX_HASH_H_ */ -- cgit v1.2.3