summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-conf.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-09-08 19:13:29 +0200
committerLennart Poettering <lennart@poettering.net>2020-09-08 19:47:25 +0200
commitae8f0ec323f3cc1b75e2d25d4832fd9bc232261b (patch)
tree4fc90ffac116b527d78b2537c13ccc580dabe12d /src/resolve/resolved-conf.h
parent36aaabc35e524184a896e1505997b6a3b526b889 (diff)
downloadsystemd-ae8f0ec323f3cc1b75e2d25d4832fd9bc232261b.tar.gz
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.h14
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_;