chiark / gitweb /
lib/addr.c, etc.: Return plain addresses from `netaddress_resolve'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 6 Jun 2020 12:27:45 +0000 (13:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 15 Jun 2020 12:03:09 +0000 (13:03 +0100)
commit802bb5963b7883e640a87a11dcd7a81bf811a076
treeade67f7b4e6b5c827e3214d681d08cccd31f64d4
parentfe0a1c48c648f683b3691132fb2b12b01d1ace32
lib/addr.c, etc.: Return plain addresses from `netaddress_resolve'.

Instead of a list of `struct addrinfo' structures, return a vector of
`struct resolved', each of which just contains a socket address and
length.  This is sufficient for all of the existing callers (which have
been changed to cope), and means that we don't need any awful hacks
because they're easy to free.
lib/addr.c
lib/addr.h
lib/client-common.c
lib/uaudio-rtp.c
server/state.c