]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
4e945a6f LP |
2 | #pragma once |
3 | ||
a2106925 LP |
4 | #include "conf-parser.h" |
5 | ||
14a52176 LB |
6 | typedef enum ResolveConfigSource { |
7 | RESOLVE_CONFIG_SOURCE_FILE, | |
8 | RESOLVE_CONFIG_SOURCE_NETWORKD, | |
9 | RESOLVE_CONFIG_SOURCE_DBUS, | |
10 | _RESOLVE_CONFIG_SOURCE_MAX, | |
11 | _RESOLVE_CONFIG_SOURCE_INVALID = -EINVAL, | |
12 | } ResolveConfigSource; | |
13 | ||
07f264e4 | 14 | #include "resolved-dns-server.h" |
4e945a6f | 15 | |
4e945a6f LP |
16 | int manager_parse_config_file(Manager *m); |
17 | ||
a51c1048 | 18 | int manager_parse_search_domains_and_warn(Manager *m, const char *string); |
281df579 | 19 | int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string); |
636e813d | 20 | |
c9f7b4d3 | 21 | const struct ConfigPerfItem* resolved_gperf_lookup(const char *key, GPERF_LEN_TYPE length); |
6501dd31 DR |
22 | const struct ConfigPerfItem* resolved_dnssd_gperf_lookup(const char *key, GPERF_LEN_TYPE length); |
23 | ||
a2106925 LP |
24 | CONFIG_PARSER_PROTOTYPE(config_parse_dns_servers); |
25 | CONFIG_PARSER_PROTOTYPE(config_parse_search_domains); | |
26 | CONFIG_PARSER_PROTOTYPE(config_parse_dns_stub_listener_mode); | |
27 | CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_service_name); | |
88123aa2 | 28 | CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_service_subtype); |
a2106925 LP |
29 | CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_service_type); |
30 | CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_txt); | |
1f05101f | 31 | CONFIG_PARSER_PROTOTYPE(config_parse_dns_stub_listener_extra); |