Lines Matching refs:StaticHost
37 typedef struct StaticHost StaticHost; typedef
39 struct StaticHost { struct
46 AVAHI_LLIST_FIELDS(StaticHost, hosts); argument
49 static AVAHI_LLIST_HEAD(StaticHost, hosts) = NULL;
52 static void add_static_host_to_server(StaticHost *h);
53 static void remove_static_host_from_server(StaticHost *h);
56 StaticHost *h; in entry_group_callback()
83 static StaticHost *static_host_new(void) { in static_host_new()
84 StaticHost *s; in static_host_new()
86 s = avahi_new(StaticHost, 1); in static_host_new()
92 AVAHI_LLIST_PREPEND(StaticHost, hosts, hosts, s); in static_host_new()
97 static void static_host_free(StaticHost *s) { in static_host_free()
100 AVAHI_LLIST_REMOVE(StaticHost, hosts, hosts, s); in static_host_free()
110 static StaticHost *static_host_find(const char *host, const AvahiAddress *a) { in static_host_find()
111 StaticHost *h; in static_host_find()
123 static void add_static_host_to_server(StaticHost *h) in add_static_host_to_server()
150 static void remove_static_host_from_server(StaticHost *h) in remove_static_host_from_server()
157 StaticHost *h; in static_hosts_add_to_server()
164 StaticHost *h; in static_hosts_remove_from_server()
173 StaticHost *h, *next; in static_hosts_load()