diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-24 21:27:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-25 21:58:38 +0100 |
commit | 4b95f1798f22c1bb75295f448188560cb6ec9ece (patch) | |
tree | a558209fdb4450717d3d28c4987140ed4f5b33b8 /src/resolve/resolved-link.h | |
parent | a51c10485af349eb15faa4d1a63b9818bcf3e589 (diff) |
resolved: unify DnsServer handling code between Link and Manager
This copies concepts we introduced for the DnsSearchDomain stuff, and
reworks the operations on lists of dns servers to be reusable and
generic for use both with the Link and the Manager object.
Diffstat (limited to 'src/resolve/resolved-link.h')
-rw-r--r-- | src/resolve/resolved-link.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/resolve/resolved-link.h b/src/resolve/resolved-link.h index d72461de06..a25715d269 100644 --- a/src/resolve/resolved-link.h +++ b/src/resolve/resolved-link.h @@ -79,17 +79,10 @@ bool link_relevant(Link *l, int family); LinkAddress* link_find_address(Link *l, int family, const union in_addr_union *in_addr); void link_add_rrs(Link *l, bool force_remove); -void link_flush_dns_servers(Link *l); -void link_flush_marked_dns_servers(Link *l); -void link_mark_dns_servers(Link *l); - DnsServer* link_set_dns_server(Link *l, DnsServer *s); -DnsServer* link_find_dns_server(Link *l, int family, const union in_addr_union *in_addr); DnsServer* link_get_dns_server(Link *l); void link_next_dns_server(Link *l); -void link_flush_search_domains(Link *l); - int link_address_new(Link *l, LinkAddress **ret, int family, const union in_addr_union *in_addr); LinkAddress *link_address_free(LinkAddress *a); int link_address_update_rtnl(LinkAddress *a, sd_netlink_message *m); |