1 /* hash-utils.h - decls for computing hash values 2 * 3 **************************************************************** 4 * Copyright (C) 2000 Thomas Lord 5 * 6 * See the file "COPYING" for further information about 7 * the copyright and warranty status of this work. 8 */ 9 10 11 #ifndef INCLUDE__HASH__HASH_UTILS_H 12 #define INCLUDE__HASH__HASH_UTILS_H 13 14 15 #include "hackerlab/machine/types.h" 16 17 18 /* automatically generated __STDC__ prototypes */ 19 extern unsigned long hash_ul (unsigned long n); 20 extern unsigned long hash_double (double d); 21 extern unsigned long hash_pointers (void * elts, size_t n_elts); 22 extern unsigned long hash_mem (const t_uchar * elts, size_t n_elts); 23 #endif /* INCLUDE__HASH__HASH_UTILS_H */ 24