summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-server.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-12 12:21:10 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-12 13:02:27 +0200
commit87f5a19343acf8ba697acc5a62bdb1a2b8c9eda3 (patch)
treeb10e9c848f9b65d4840c574864fb92a09619910d /src/resolve/resolved-dns-server.h
parentc2d6bd61ee77b59566116afe6e20513d19945ed4 (diff)
resolved: filter out duplicate DNS servers when writing resolv.conf
Diffstat (limited to 'src/resolve/resolved-dns-server.h')
-rw-r--r--src/resolve/resolved-dns-server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-server.h b/src/resolve/resolved-dns-server.h
index 8a9f5560d5..5178a6be7e 100644
--- a/src/resolve/resolved-dns-server.h
+++ b/src/resolve/resolved-dns-server.h
@@ -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);