]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: virhash: Remove key handling callbacks
authorPeter Krempa <pkrempa@redhat.com>
Wed, 21 Oct 2020 11:52:01 +0000 (13:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 22 Oct 2020 13:02:46 +0000 (15:02 +0200)
commit7c1a4bc7757b4e0ff434f015c218b1f47cc308eb
tree1b474238a9b1a98ee4b14c7fbfa8fea0569d9e84
parentd6d4c08daf1bbb7377706352f183a7e882fee534
util: virhash: Remove key handling callbacks

Since we use virHashTable for string-keyed values only, we can remove
all the callbacks which allowed universal keys.

Code which wishes to use non-string keys should use glib's GHashTable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/util/virhash.c
src/util/virhash.h