diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-09-08 19:13:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-09-08 19:47:25 +0200 |
commit | ae8f0ec323f3cc1b75e2d25d4832fd9bc232261b (patch) | |
tree | 4fc90ffac116b527d78b2537c13ccc580dabe12d /src/resolve/resolved-conf.h | |
parent | resolve: DNSStubListenerExtra → DnsStubListenerExtra (diff) | |
download | systemd-ae8f0ec323f3cc1b75e2d25d4832fd9bc232261b.tar.xz systemd-ae8f0ec323f3cc1b75e2d25d4832fd9bc232261b.zip |
resolved: move dns stub definitions to resolved-dns-stub.[ch]
Just some moving around, no logic changes.
Diffstat (limited to 'src/resolve/resolved-conf.h')
-rw-r--r-- | src/resolve/resolved-conf.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/resolve/resolved-conf.h b/src/resolve/resolved-conf.h index 50a0caaf16..09ae8d7a5b 100644 --- a/src/resolve/resolved-conf.h +++ b/src/resolve/resolved-conf.h @@ -3,17 +3,6 @@ #include "conf-parser.h" -typedef enum DnsStubListenerMode DnsStubListenerMode; - -enum DnsStubListenerMode { - DNS_STUB_LISTENER_NO, - DNS_STUB_LISTENER_UDP = 1 << 0, - DNS_STUB_LISTENER_TCP = 1 << 1, - DNS_STUB_LISTENER_YES = DNS_STUB_LISTENER_UDP | DNS_STUB_LISTENER_TCP, - _DNS_STUB_LISTENER_MODE_MAX, - _DNS_STUB_LISTENER_MODE_INVALID = -1 -}; - #include "resolved-dns-server.h" int manager_parse_config_file(Manager *m); @@ -31,6 +20,3 @@ CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_service_name); CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_service_type); CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_txt); CONFIG_PARSER_PROTOTYPE(config_parse_dns_stub_listener_extra); - -const char* dns_stub_listener_mode_to_string(DnsStubListenerMode p) _const_; -DnsStubListenerMode dns_stub_listener_mode_from_string(const char *s) _pure_; |