aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/Resolver.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-07-22 10:03:36 +0200
committerMax Kellermann <max@duempel.org>2015-07-22 10:03:36 +0200
commit6f22452b54d6d16d01855a0be18cbee162e141b6 (patch)
treeb9dda45553580bcd6a0bdda11ae2177921d27c2f /src/net/Resolver.hxx
parenta4a37d7a196903d73180081159886de214b95849 (diff)
downloadmpd-6f22452b54d6d16d01855a0be18cbee162e141b6.tar.gz
mpd-6f22452b54d6d16d01855a0be18cbee162e141b6.tar.xz
mpd-6f22452b54d6d16d01855a0be18cbee162e141b6.zip
net/Resolver: move sockaddr_to_string() to ToString.cxx
Diffstat (limited to 'src/net/Resolver.hxx')
-rw-r--r--src/net/Resolver.hxx14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/net/Resolver.hxx b/src/net/Resolver.hxx
index 28d2c784b..826cc4787 100644
--- a/src/net/Resolver.hxx
+++ b/src/net/Resolver.hxx
@@ -20,28 +20,16 @@
#ifndef MPD_RESOLVER_HXX
#define MPD_RESOLVER_HXX
+#include "check.h"
#include "Compiler.h"
-#include <string>
-
-#include <stddef.h>
-
struct addrinfo;
class Error;
class Domain;
-class SocketAddress;
extern const Domain resolver_domain;
/**
- * Converts the specified socket address into a string in the form
- * "IP:PORT".
- */
-gcc_pure
-std::string
-sockaddr_to_string(SocketAddress address);
-
-/**
* Resolve a specification in the form "host", "host:port",
* "[host]:port". This is a convenience wrapper for getaddrinfo().
*