resolved-conf.h revision 24710c48ed16be5fa461fbb303a744a907541daf
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen#pragma once
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen/***
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen This file is part of systemd.
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen Copyright 2014 Tom Gundersen <teg@jklm.no>
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen systemd is free software; you can redistribute it and/or modify it
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen under the terms of the GNU Lesser General Public License as published by
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen the Free Software Foundation; either version 2.1 of the License, or
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen (at your option) any later version.
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen systemd is distributed in the hope that it will be useful, but
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen WITHOUT ANY WARRANTY; without even the implied warranty of
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen Lesser General Public License for more details.
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen You should have received a copy of the GNU Lesser General Public License
81cc999477f2f5f0896ee349f6ec8fc2f804ece3Lauri Tirkkonen along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include "resolved-manager.h"
int manager_parse_config_file(Manager *m);
int manager_add_search_domain_by_string(Manager *m, const char *domain);
int manager_parse_search_domains_and_warn(Manager *m, const char *string);
int manager_add_dns_server_by_string(Manager *m, DnsServerType type, const char *word);
int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string);
const struct ConfigPerfItem* resolved_gperf_lookup(const char *key, unsigned length);
int config_parse_dns_servers(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_search_domains(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_support(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_dnssec(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);