00001 // PointerSetHash.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 } PointerSetHashRecord; 00016 00017 typedef struct 00018 { 00019 unsigned char *records; 00020 size_t size; 00021 size_t keyCount; 00022 intptr_t mask; 00023 } PointerSetHash; 00024 00025 #ifdef __cplusplus 00026 } 00027 #endif 00028 #endif