aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/Resolver.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-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().
*