1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 #include "conf-parser.h" 5 6 #include "resolved-dns-server.h" 7 8 int manager_parse_config_file(Manager *m); 9 10 int manager_parse_search_domains_and_warn(Manager *m, const char *string); 11 int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string); 12 13 const struct ConfigPerfItem* resolved_gperf_lookup(const char *key, GPERF_LEN_TYPE length); 14 const struct ConfigPerfItem* resolved_dnssd_gperf_lookup(const char *key, GPERF_LEN_TYPE length); 15 16 CONFIG_PARSER_PROTOTYPE(config_parse_dns_servers); 17 CONFIG_PARSER_PROTOTYPE(config_parse_search_domains); 18 CONFIG_PARSER_PROTOTYPE(config_parse_dns_stub_listener_mode); 19 CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_service_name); 20 CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_service_type); 21 CONFIG_PARSER_PROTOTYPE(config_parse_dnssd_txt); 22 CONFIG_PARSER_PROTOTYPE(config_parse_dns_stub_listener_extra); 23