Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenhash.h
Go to the documentation of this file.
00001 00006 /* 00007 * Mesa 3-D graphics library 00008 * Version: 6.5.1 00009 * 00010 * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. 00011 * 00012 * Permission is hereby granted, free of charge, to any person obtaining a 00013 * copy of this software and associated documentation files (the "Software"), 00014 * to deal in the Software without restriction, including without limitation 00015 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00016 * and/or sell copies of the Software, and to permit persons to whom the 00017 * Software is furnished to do so, subject to the following conditions: 00018 * 00019 * The above copyright notice and this permission notice shall be included 00020 * in all copies or substantial portions of the Software. 00021 * 00022 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00023 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00024 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00025 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00026 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00027 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00028 */ 00029 00030 00031 #ifndef HASH_H 00032 #define HASH_H 00033 00034 00035 #include "glheader.h" 00036 00037 00038 extern struct _mesa_HashTable *_mesa_NewHashTable(void); 00039 00040 extern void _mesa_DeleteHashTable(struct _mesa_HashTable *table); 00041 00042 extern void *_mesa_HashLookup(const struct _mesa_HashTable *table, GLuint key); 00043 00044 extern void _mesa_HashInsert(struct _mesa_HashTable *table, GLuint key, void *data); 00045 00046 extern void _mesa_HashRemove(struct _mesa_HashTable *table, GLuint key); 00047 00048 extern void 00049 _mesa_HashDeleteAll(struct _mesa_HashTable *table, 00050 void (*callback)(GLuint key, void *data, void *userData), 00051 void *userData); 00052 00053 extern void 00054 _mesa_HashWalk(const struct _mesa_HashTable *table, 00055 void (*callback)(GLuint key, void *data, void *userData), 00056 void *userData); 00057 00058 extern GLuint _mesa_HashFirstEntry(struct _mesa_HashTable *table); 00059 00060 extern GLuint _mesa_HashNextEntry(const struct _mesa_HashTable *table, GLuint key); 00061 00062 extern void _mesa_HashPrint(const struct _mesa_HashTable *table); 00063 00064 extern GLuint _mesa_HashFindFreeKeyBlock(struct _mesa_HashTable *table, GLuint numKeys); 00065 00066 extern void _mesa_test_hash_functions(void); 00067 00068 00069 #endif Generated on Mon May 28 2012 04:20:03 for ReactOS by
1.7.6.1
|