chiark / gitweb /
resolved: filter out duplicate DNS servers when writing resolv.conf
[elogind.git] / src / resolve / resolved-dns-server.h
index 8a9f5560d5857906343ed3021e066db059ed2470..5178a6be7e827295f75c56da684eb1f909113088 100644 (file)
@@ -59,3 +59,6 @@ int dns_server_new(
                 const union in_addr_union *address);
 
 DnsServer* dns_server_free(DnsServer *s);
+
+unsigned long dns_server_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]);
+int dns_server_compare_func(const void *a, const void *b);