khash: move oid hash table definition
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:04:53 +0000 (00:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:37 +0000 (11:57 +0900)
commit5a8643eff1e59f1cf96da9875d5716e88f480710
tree6522b331529f0a7413fb54a2fc301a6e2d3031a1
parent76c23892bcbc5e8fba1f6d844b05752082d0542e
khash: move oid hash table definition

Move the oid khash table definition to khash.h and define a typedef for
it, similar to the one we have for unsigned char pointers. Define
variants that are maps as well.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
khash.h
oidset.h