continue implementation; first tests with recursion returned IPs but then added cance...
[pingcheck] / src / dns / dnsmaster.h
index c47a3d2..128633f 100644 (file)
@@ -59,6 +59,7 @@ const DnsIpProtocol DNS_IPALL = boost::net::dns::type_all;
 typedef std::pair<std::string, DnsIpProtocol> resolver_key_type;
 typedef std::map<resolver_key_type, ResolverItem> resolver_map_type;
 
+std::string to_string(const DnsIpProtocol &protocol);
 
 class DnsMaster : boost::noncopyable
 {
@@ -67,7 +68,7 @@ public:
     ResolverItem& get_resolver_for(const std::string &hostname,
                                    const PingProtocol &ping_protocol);
     ResolverItem& get_resolver_for(const std::string &hostname,
-                                   const DnsIpProtocol &protocol)
+                                   const DnsIpProtocol &protocol);
     ResolverItem get_recursor_for(const std::string &hostname,
                                   const DnsIpProtocol &protocol,
                                   const boost::asio::ip::address &name_server);