summaryrefslogtreecommitdiff
path: root/libports/extern-inline.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-11-21 16:27:40 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-11-29 23:57:56 +0100
commit2c4b1db9c9760205979d22b721c324cf215987da (patch)
tree69d48343c8f94621826d7334f6f38605cceca505 /libports/extern-inline.c
parentf564e5f4a62fb8ca54695c722c7e04803df869ec (diff)
libihash: generalize the interface to support non-integer keys
* libihash/ihash.c (hash, compare): New functions that are used throughout libihash to hash and compare keys. (hurd_ihash_set_gki): New function. * libihash/ihash.h (hurd_ihash_fct_hash_t): New type for hash functions. (hurd_ihash_fct_cmp_t): New type for comparison functions. (struct hurd_ihash): New fields for hash and comparison functions. (HURD_IHASH_INITIALIZER_GKI): New static initializer. (hurd_ihash_set_gki): New prototype.
Diffstat (limited to 'libports/extern-inline.c')
0 files changed, 0 insertions, 0 deletions