move the ohash functions into libutil by popular demand.
authorespie <espie@openbsd.org>
Mon, 12 May 2014 19:09:00 +0000 (19:09 +0000)
committerespie <espie@openbsd.org>
Mon, 12 May 2014 19:09:00 +0000 (19:09 +0000)
commit42dcb487124b72431b966827e39770df4dd1c0c3
tree3ec3a89fd98fc38aab29f95ede11623739eb7ecc
parenta795a9b40f84b84e7462d2e0d8f909ee7b9d2a15
move the ohash functions into libutil by popular demand.
It's not a standard interface, so it doesn't belong in libc.
I hate duplicating the code in client programs, so do beck@, kettenis@,
schwarze@, millert@, miod@... and they agree with libutil.
19 files changed:
include/Makefile
lib/libc/shlib_version
lib/libutil/Makefile
lib/libutil/ohash.h [new file with mode: 0644]
lib/libutil/ohash_create_entry.c [new file with mode: 0644]
lib/libutil/ohash_delete.c [new file with mode: 0644]
lib/libutil/ohash_do.c [new file with mode: 0644]
lib/libutil/ohash_entries.c [new file with mode: 0644]
lib/libutil/ohash_enum.c [new file with mode: 0644]
lib/libutil/ohash_init.3 [new file with mode: 0644]
lib/libutil/ohash_init.c [new file with mode: 0644]
lib/libutil/ohash_int.h [new file with mode: 0644]
lib/libutil/ohash_interval.3 [new file with mode: 0644]
lib/libutil/ohash_interval.c [new file with mode: 0644]
lib/libutil/ohash_lookup_interval.c [new file with mode: 0644]
lib/libutil/ohash_lookup_memory.c [new file with mode: 0644]
lib/libutil/ohash_qlookup.c [new file with mode: 0644]
lib/libutil/ohash_qlookupi.c [new file with mode: 0644]
lib/libutil/shlib_version