00001 00013 #ifndef _BUCKET_LINKED_LIST_SORT_PTR_H_ 00014 #define _BUCKET_LINKED_LIST_SORT_PTR_H_ 00015 00021 typedef struct entry { 00023 void *element; 00024 00026 struct entry *next; 00027 } ENTRY; 00028 00029 00035 typedef struct b { 00037 int size; 00038 00040 ENTRY *head; 00041 } BUCKET; 00042 00044 extern int hash(void *elt); 00045 00050 extern int numBuckets(int numElements); 00051 00052 #endif /* _BUCKET_LINKED_LIST_SORT_PTR_H_ */