diff options
author | Tom Gundersen <teg@jklm.no> | 2016-01-07 15:05:58 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2016-01-07 15:05:58 +0100 |
commit | 4b4310db942b56f5813ea6db68037cf4447e4aa0 (patch) | |
tree | d6594eed934e46a50a41f0c93836cba45011723c /src/resolve/resolved-manager.h | |
parent | a2e9fd6233183b3dc439f9411709c62d11bfdc1c (diff) | |
parent | 28bf03b5265be30079630b5bc2c3dafc13fce27b (diff) |
Merge pull request #2276 from poettering/dnssec12
Twelfth DNSSEC PR
Diffstat (limited to 'src/resolve/resolved-manager.h')
-rw-r--r-- | src/resolve/resolved-manager.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h index dd85d3ba47..1907d2e1bc 100644 --- a/src/resolve/resolved-manager.h +++ b/src/resolve/resolved-manager.h @@ -28,17 +28,9 @@ #include "hashmap.h" #include "list.h" #include "ordered-set.h" +#include "resolve-util.h" typedef struct Manager Manager; -typedef enum Support Support; - -enum Support { - SUPPORT_NO, - SUPPORT_YES, - SUPPORT_RESOLVE, - _SUPPORT_MAX, - _SUPPORT_INVALID = -1 -}; #include "resolved-dns-query.h" #include "resolved-dns-search-domain.h" @@ -53,8 +45,9 @@ enum Support { struct Manager { sd_event *event; - Support llmnr_support; - Support mdns_support; + ResolveSupport llmnr_support; + ResolveSupport mdns_support; + DnssecMode dnssec_mode; /* Network */ Hashmap *links; @@ -165,6 +158,3 @@ int manager_is_own_hostname(Manager *m, const char *name); int manager_compile_dns_servers(Manager *m, OrderedSet **servers); int manager_compile_search_domains(Manager *m, OrderedSet **domains); - -const char* support_to_string(Support p) _const_; -int support_from_string(const char *s) _pure_; |