diff options
Diffstat (limited to 'src/resolve/resolved-manager.h')
-rw-r--r-- | src/resolve/resolved-manager.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h index 5c1a6670ef..d94b2888ab 100644 --- a/src/resolve/resolved-manager.h +++ b/src/resolve/resolved-manager.h @@ -1,24 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - This file is part of systemd. - - Copyright 2014 Tom Gundersen <teg@jklm.no> - - systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - systemd is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with systemd; If not, see <http://www.gnu.org/licenses/>. -***/ #include "sd-event.h" #include "sd-netlink.h" @@ -48,6 +30,7 @@ struct Manager { ResolveSupport llmnr_support; ResolveSupport mdns_support; DnssecMode dnssec_mode; + DnsOverTlsMode dns_over_tls_mode; bool enable_cache; DnsStubListenerMode dns_stub_listener_mode; @@ -110,7 +93,6 @@ struct Manager { /* dbus */ sd_bus *bus; - sd_event_source *bus_retry_event_source; /* The hostname we publish on LLMNR and mDNS */ char *full_hostname; @@ -186,6 +168,8 @@ int manager_compile_search_domains(Manager *m, OrderedSet **domains, int filter_ DnssecMode manager_get_dnssec_mode(Manager *m); bool manager_dnssec_supported(Manager *m); +DnsOverTlsMode manager_get_dns_over_tls_mode(Manager *m); + void manager_dnssec_verdict(Manager *m, DnssecVerdict verdict, const DnsResourceKey *key); bool manager_routable(Manager *m, int family); |