322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering This file is part of systemd.
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering Copyright 2014 Lennart Poettering
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering systemd is free software; you can redistribute it and/or modify it
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering under the terms of the GNU Lesser General Public License as published by
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering the Free Software Foundation; either version 2.1 of the License, or
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering (at your option) any later version.
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering systemd is distributed in the hope that it will be useful, but
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering Lesser General Public License for more details.
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering You should have received a copy of the GNU Lesser General Public License
322345fdb9865ef2477fba8e4bdde0e1183ef505Lennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersen#include "resolved-dns-question.h"
d3760be01b120df8980c056ecc85a4229d660264Lennart Poetteringint dns_cache_put(DnsCache *c, DnsResourceKey *key, int rcode, DnsAnswer *answer, bool authenticated, uint32_t nsec_ttl, usec_t timestamp, int owner_family, const union in_addr_union *owner_address);
931851e8e492a4d2715e22dcde50a5e7ccef4b49Lennart Poetteringint dns_cache_lookup(DnsCache *c, DnsResourceKey *key, int *rcode, DnsAnswer **answer, bool *authenticated);
a407657425a3e47fd2b559cd3bc800f791303f63Lennart Poetteringint dns_cache_check_conflicts(DnsCache *cache, DnsResourceRecord *rr, int owner_family, const union in_addr_union *owner_address);
4d506d6bb757af3b99e0876234c465e6898c5ea4Lennart Poetteringvoid dns_cache_dump(DnsCache *cache, FILE *f);