usermode/library/common/cuckoo_hash/PointerHash_struct.h

00001 //  PointerHash.h
00002 //  CuckooHashTable
00003 //  Created by Steve Dekorte on 2009 04 28.
00004 
00005 #ifndef POINTERHASH_STRUCT_DEFINED
00006 #define POINTERHASH_STRUCT_DEFINED 1
00007 
00008 #ifdef __cplusplus
00009 extern "C" {
00010 #endif
00011 
00012 typedef struct
00013 {
00014         void *k;
00015         void *v;
00016 } PointerHashRecord;
00017         
00018 typedef struct
00019 {
00020         unsigned char *records;
00021         size_t size;
00022         size_t keyCount;
00023         intptr_t mask;
00024 } PointerHash;
00025 
00026 #ifdef __cplusplus
00027 }
00028 #endif
00029 #endif

Generated on Sat Apr 23 11:43:35 2011 for Mnemosyne by  doxygen 1.4.7