diff options
author | Kristian Høgsberg <[email protected]> | 2007-04-29 15:05:02 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2007-10-05 00:09:23 -0400 |
commit | 4ceefccbfa180d19e27716bf7f282d0438ac34bd (patch) | |
tree | 9e86d0b654e223ed1a1eda81b6d9da3177980413 /src/glx/x11/glxhash.h | |
parent | 77e0523fb7769df4bf43747e136b1653b2421b97 (diff) |
Pull in the drm hash.
Diffstat (limited to 'src/glx/x11/glxhash.h')
-rw-r--r-- | src/glx/x11/glxhash.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/glx/x11/glxhash.h b/src/glx/x11/glxhash.h new file mode 100644 index 00000000000..66012fb889d --- /dev/null +++ b/src/glx/x11/glxhash.h @@ -0,0 +1,16 @@ +#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_ */ |