Home
last modified time | relevance | path

Searched refs:entry_group (Results 1 – 10 of 10) sorted by relevance

/external/avahi/avahi-core/
Diface.c60 if (!a->entry_group) in avahi_interface_address_update_rrs()
61 … a->entry_group = avahi_s_entry_group_new(m->server, avahi_host_rr_entry_group_callback, NULL); in avahi_interface_address_update_rrs()
63 if (!a->entry_group) /* OOM */ in avahi_interface_address_update_rrs()
66 if (avahi_s_entry_group_is_empty(a->entry_group)) { in avahi_interface_address_update_rrs()
76 …if (avahi_server_add_address(m->server, a->entry_group, a->interface->hardware->index, p, 0, NULL,… in avahi_interface_address_update_rrs()
78 avahi_s_entry_group_free(a->entry_group); in avahi_interface_address_update_rrs()
79 a->entry_group = NULL; in avahi_interface_address_update_rrs()
83 avahi_s_entry_group_commit(a->entry_group); in avahi_interface_address_update_rrs()
89 if (a->entry_group && !avahi_s_entry_group_is_empty(a->entry_group)) { in avahi_interface_address_update_rrs()
95 if (avahi_s_entry_group_get_state(a->entry_group) == AVAHI_ENTRY_GROUP_REGISTERING && in avahi_interface_address_update_rrs()
[all …]
Diface.h86 AvahiSEntryGroup *entry_group; member
132 AvahiSEntryGroup *entry_group; member
/external/avahi/avahi-utils/
Davahi-publish.c62 static AvahiEntryGroup *entry_group = NULL; variable
112 if (!entry_group) { in register_stuff()
113 if (!(entry_group = avahi_entry_group_new(client, entry_group_callback, config))) { in register_stuff()
119 assert(avahi_entry_group_is_empty(entry_group)); in register_stuff()
123 …if (avahi_entry_group_add_address(entry_group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, config->no_rev… in register_stuff()
133 …if (avahi_entry_group_add_service_strlst(entry_group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, conf… in register_stuff()
139 …if (avahi_entry_group_add_service_subtype(entry_group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, con… in register_stuff()
145 avahi_entry_group_commit(entry_group); in register_stuff()
167 entry_group = NULL; in client_callback()
197 if (entry_group) { in client_callback()
[all …]
/external/avahi/avahi-daemon/
Ddbus-entry-group.c39 if (i->entry_group) in avahi_dbus_entry_group_free()
40 avahi_s_entry_group_free(i->entry_group); in avahi_dbus_entry_group_free()
129 if (avahi_s_entry_group_commit(i->entry_group) < 0) in avahi_dbus_msg_entry_group_impl()
142 avahi_s_entry_group_reset(i->entry_group); in avahi_dbus_msg_entry_group_impl()
153 return avahi_dbus_respond_boolean(c, m, !!avahi_s_entry_group_is_empty(i->entry_group)); in avahi_dbus_msg_entry_group_impl()
163 state = avahi_s_entry_group_get_state(i->entry_group); in avahi_dbus_msg_entry_group_impl()
201 …if (avahi_server_add_service_strlst(avahi_server, i->entry_group, (AvahiIfIndex) interface, (Avahi… in avahi_dbus_msg_entry_group_impl()
239 …if (avahi_server_add_service_subtype(avahi_server, i->entry_group, (AvahiIfIndex) interface, (Avah… in avahi_dbus_msg_entry_group_impl()
271 …if (avahi_server_update_service_txt_strlst(avahi_server, i->entry_group, (AvahiIfIndex) interface,… in avahi_dbus_msg_entry_group_impl()
304 …if (avahi_server_add_address(avahi_server, i->entry_group, (AvahiIfIndex) interface, (AvahiProtoco… in avahi_dbus_msg_entry_group_impl()
[all …]
Dstatic-services.c78 AvahiSEntryGroup *entry_group; member
144 g->entry_group = NULL; in static_service_group_new()
170 if (g->entry_group) in static_service_group_free()
171 avahi_s_entry_group_free(g->entry_group); in static_service_group_free()
227 if (g->entry_group && !avahi_s_entry_group_is_empty(g->entry_group)) in add_static_service_group_to_server()
248 if (!g->entry_group) in add_static_service_group_to_server()
249 g->entry_group = avahi_s_entry_group_new(avahi_server, entry_group_callback, g); in add_static_service_group_to_server()
251 assert(avahi_s_entry_group_is_empty(g->entry_group)); in add_static_service_group_to_server()
258 g->entry_group, in add_static_service_group_to_server()
275 g->entry_group, in add_static_service_group_to_server()
[all …]
Ddbus-internal.h53 AvahiSEntryGroup *entry_group; member
Ddbus-util.c417 if (egi->entry_group == g) in avahi_dbus_is_our_own_service()
Ddbus-protocol.c451 …if (!(i->entry_group = avahi_s_entry_group_new(avahi_server, avahi_dbus_entry_group_callback, i)))… in msg_server_impl()
/external/avahi/avahi-compat-libdns_sd/
Dcompat.c94 AvahiEntryGroup *entry_group; member
380 sdref->entry_group = NULL; in sdref_new()
926 sdref->entry_group, in reg_create_service()
942 sdref->entry_group, in reg_create_service()
953 if ((ret = avahi_entry_group_commit(sdref->entry_group)) < 0) in reg_create_service()
967 if (!sdref->entry_group) in reg_client_callback()
1020 avahi_entry_group_reset(sdref->entry_group); in reg_client_callback()
1049 avahi_entry_group_reset(sdref->entry_group); in reg_entry_group_callback()
1168 …if (!(sdref->entry_group = avahi_entry_group_new(sdref->client, reg_entry_group_callback, sdref)))… in DNSServiceRegister()
1243 sdref->entry_group && in DNSServiceUpdateRecord()
[all …]
/external/avahi/docs/
DTODO55 * add entry_group::reset()