summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-server.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-06-24 18:54:12 +0200
committerTom Gundersen <teg@jklm.no>2015-07-14 18:50:53 +0200
commit8300ba218e3cf5049496937be8bce10f22d09bbc (patch)
treef0be112a2c74809d87b38331cecd52af677800ec /src/resolve/resolved-dns-server.h
parent91b14d6ff362b938a72db17b095ee9903d07381b (diff)
resolved: pin the server used in a transaction
We want to discover information about the server and use that in when crafting packets to be resent.
Diffstat (limited to 'src/resolve/resolved-dns-server.h')
-rw-r--r--src/resolve/resolved-dns-server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-server.h b/src/resolve/resolved-dns-server.h
index 03013beb82..06059e8829 100644
--- a/src/resolve/resolved-dns-server.h
+++ b/src/resolve/resolved-dns-server.h
@@ -62,4 +62,6 @@ int dns_server_new(
DnsServer* dns_server_ref(DnsServer *s);
DnsServer* dns_server_unref(DnsServer *s);
+DEFINE_TRIVIAL_CLEANUP_FUNC(DnsServer*, dns_server_unref);
+
extern const struct hash_ops dns_server_hash_ops;