* 02110-1301 USA
*/
-#ifndef _DICT_H_
-#define _DICT_H_
+#ifndef DICT_H
+#define DICT_H
#include <stddef.h>
+#include <stdint.h>
#include <assert.h>
#include "vect.h"
/* An equality predicate callback for integers. */
int dict_eq_int(const int *key1, const int *key2);
+/* A callback for hashing uint64_t. */
+size_t dict_hash_uint64(const uint64_t *key);
+
+/* An equality predicate callback for uint64_t. */
+int dict_eq_uint64(const uint64_t *key1, const uint64_t *key2);
+
/* A callback for hashing NULL-terminated strings. */
size_t dict_hash_string(const char **key);
/* A cloner that calls 'strdup' on keys in a table. */
int dict_clone_string(const char **tgt, const char **src, void *data);
-#endif /* _DICT_H_ */
+#endif /* DICT_H */