]> git.ipfire.org Git - thirdparty/bind9.git/commit
Move netmgr/uv-compat.h to <isc/uv.h>
authorOndřej Surý <ondrej@isc.org>
Wed, 27 Apr 2022 15:41:47 +0000 (17:41 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 3 May 2022 08:02:19 +0000 (10:02 +0200)
commitb43812692de476ccd6bba79c02b42abbbb37315e
treec653f4b8a8dd75c130d58e91ce34fff16286e737
parent24c38796754521844eb77f0bacd7dd53a34b10e1
Move netmgr/uv-compat.h to <isc/uv.h>

As we are going to use libuv outside of the netmgr, we need the shims to
be readily available for the rest of the codebase.

Move the "netmgr/uv-compat.h" to <isc/uv.h> and netmgr/uv-compat.c to
uv.c, and as a rule of thumb, the users of libuv should include
<isc/uv.h> instead of <uv.h> directly.

Additionally, merge netmgr/uverr2result.c into uv.c and rename the
single function from isc__nm_uverr2result() to isc_uverr2result().
24 files changed:
bin/named/dlz_dlopen_driver.c
bin/named/main.c
lib/dns/dyndb.c
lib/dns/tests/dispatch_test.c
lib/isc/Makefile.am
lib/isc/include/isc/barrier.h
lib/isc/include/isc/uv.h [moved from lib/isc/netmgr/uv-compat.h with 69% similarity]
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/socket.c
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/timer.c
lib/isc/netmgr/tlsdns.c
lib/isc/netmgr/tlsstream.c
lib/isc/netmgr/udp.c
lib/isc/netmgr/uv-compat.c [deleted file]
lib/isc/task.c
lib/isc/tests/Makefile.am
lib/isc/tests/doh_test.c
lib/isc/tests/netmgr_test.c
lib/isc/tests/uv_wrap.h
lib/isc/uv.c [moved from lib/isc/netmgr/uverr2result.c with 60% similarity]
lib/ns/hooks.c