summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-etc-hosts.h
blob: b8e04c393b0a5ad60a851042aee8ae9678664d24 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

#include "resolved-manager.h"
#include "resolved-dns-question.h"
#include "resolved-dns-answer.h"

void manager_etc_hosts_flush(Manager *m);
int manager_etc_hosts_read(Manager *m);
int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer);