diff options
author | Max Kellermann <max@duempel.org> | 2015-02-10 20:30:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-10 22:06:06 +0100 |
commit | 4e30e747390ac6bb6a6e5ededfbcdae937579393 (patch) | |
tree | beb2d9acd687a62d476e796114efd8ea6b2f69ad /src/net/Resolver.hxx | |
parent | 42890b9acf50c4406b61b3b37078c00ec79411fa (diff) | |
download | mpd-4e30e747390ac6bb6a6e5ededfbcdae937579393.tar.gz mpd-4e30e747390ac6bb6a6e5ededfbcdae937579393.tar.xz mpd-4e30e747390ac6bb6a6e5ededfbcdae937579393.zip |
net/SocketAddress: light wrapper for struct sockaddr
Diffstat (limited to '')
-rw-r--r-- | src/net/Resolver.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/Resolver.hxx b/src/net/Resolver.hxx index a9596c299..7567983f0 100644 --- a/src/net/Resolver.hxx +++ b/src/net/Resolver.hxx @@ -26,10 +26,10 @@ #include <stddef.h> -struct sockaddr; struct addrinfo; class Error; class Domain; +class SocketAddress; extern const Domain resolver_domain; @@ -42,7 +42,7 @@ extern const Domain resolver_domain; */ gcc_pure std::string -sockaddr_to_string(const sockaddr *sa, size_t length); +sockaddr_to_string(SocketAddress address); /** * Resolve a specification in the form "host", "host:port", |