libiberty/
[deliverable/binutils-gdb.git] / include / hashtab.h
index 7acb5eb2859218bda4646114ffdfe49bc9cb4666..b86bb29b80164086cc9f6a237edabb93f48927d3 100644 (file)
@@ -183,6 +183,11 @@ extern htab_eq htab_eq_pointer;
 /* A hash function for null-terminated strings.  */
 extern hashval_t htab_hash_string PARAMS ((const PTR));
 
+/* An iterative hash function for arbitrary data.  */
+extern hashval_t burtle_hash PARAMS ((const PTR, size_t, hashval_t));
+/* Shorthand for hashing something with an intrinsic size.  */
+#define burtle_hash_object(OB,INIT) burtle_hash (&OB, sizeof (OB), INIT)
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */
This page took 0.023629 seconds and 4 git commands to generate.