Lines Matching refs:hosts
35 #include "static-hosts.h"
47 AVAHI_LLIST_FIELDS(StaticHost, hosts);
50 static AVAHI_LLIST_HEAD(StaticHost, hosts) = NULL;
93 AVAHI_LLIST_PREPEND(StaticHost, hosts, hosts, s);
101 AVAHI_LLIST_REMOVE(StaticHost, hosts, hosts, s);
117 for (h = hosts; h; h = h->hosts_next)
179 for (h = hosts; h; h = h->hosts_next)
186 for (h = hosts; h; h = h->hosts_next)
194 const char *filename = in_chroot ? "/hosts" : AVAHI_CONFIG_DIR "/hosts";
198 avahi_log_error ("Failed to open static hosts file: %s", strerror (errno));
309 for (h = hosts; h; h = next) {
325 while(hosts)
326 static_host_free(hosts);