Replace readdir_r with readdir
[platform/upstream/ltrace.git] / dict.h
diff --git a/dict.h b/dict.h
index 18ad785..4379e7c 100644 (file)
--- a/dict.h
+++ b/dict.h
  * 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"
 
@@ -231,6 +232,12 @@ size_t dict_hash_int(const int *key);
 /* 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);
 
@@ -243,4 +250,4 @@ void dict_dtor_string(const char **key, void *data);
 /* 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 */