Home
last modified time | relevance | path

Searched refs:EtcHosts (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/resolve/
Dresolved-etc-hosts.c32 void etc_hosts_free(EtcHosts *hosts) { in etc_hosts_free()
43 static int parse_line(EtcHosts *hosts, unsigned nr, const char *line) { in parse_line()
165 static void strip_localhost(EtcHosts *hosts) { in strip_localhost()
253 int etc_hosts_parse(EtcHosts *hosts, FILE *f) { in etc_hosts_parse()
254 _cleanup_(etc_hosts_free) EtcHosts t = {}; in etc_hosts_parse()
287 t = (EtcHosts) {}; /* prevent cleanup */ in etc_hosts_parse()
Dresolved-etc-hosts.h21 int etc_hosts_parse(EtcHosts *hosts, FILE *f);
22 void etc_hosts_free(EtcHosts *hosts);
Dresolved-manager.h29 typedef struct EtcHosts { struct
33 } EtcHosts; argument
132 EtcHosts etc_hosts;
Dtest-resolved-etc-hosts.c26 _cleanup_(etc_hosts_free) EtcHosts hosts = {}; in TEST()
70 _cleanup_(etc_hosts_free) EtcHosts hosts = {}; in TEST()
127 _cleanup_(etc_hosts_free) EtcHosts hosts = {}; in test_parse_file_one()
Dfuzz-etc-hosts.c9 _cleanup_(etc_hosts_free) EtcHosts h = {}; in LLVMFuzzerTestOneInput()