diff options
Diffstat (limited to 'include/hashtab.h')
-rw-r--r-- | include/hashtab.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hashtab.h b/include/hashtab.h index b3a6265..77c5eec 100644 --- a/include/hashtab.h +++ b/include/hashtab.h @@ -192,6 +192,9 @@ extern htab_eq htab_eq_pointer; /* A hash function for null-terminated strings. */ extern hashval_t htab_hash_string (const void *); +/* An equality function for null-terminated strings. */ +extern int htab_eq_string (const void *, const void *); + /* An iterative hash function for arbitrary data. */ extern hashval_t iterative_hash (const void *, size_t, hashval_t); /* Shorthand for hashing something with an intrinsic size. */ |