Lines Matching full:entry_group
60 if (!a->entry_group)
61 a->entry_group = avahi_s_entry_group_new(m->server, avahi_host_rr_entry_group_callback, NULL);
63 if (!a->entry_group) /* OOM */
66 if (avahi_s_entry_group_is_empty(a->entry_group)) {
76 if (avahi_server_add_address(m->server, a->entry_group, a->interface->hardware->index, p, 0, NULL, &a->address) < 0) {
78 avahi_s_entry_group_free(a->entry_group);
79 a->entry_group = NULL;
83 avahi_s_entry_group_commit(a->entry_group);
89 if (a->entry_group && !avahi_s_entry_group_is_empty(a->entry_group)) {
95 if (avahi_s_entry_group_get_state(a->entry_group) == AVAHI_ENTRY_GROUP_REGISTERING &&
99 avahi_s_entry_group_reset(a->entry_group);
128 if (!hw->entry_group)
129 hw->entry_group = avahi_s_entry_group_new(m->server, avahi_host_rr_entry_group_callback, NULL);
131 if (!hw->entry_group)
134 if (avahi_s_entry_group_is_empty(hw->entry_group)) {
142 if (avahi_server_add_service(m->server, hw->entry_group, hw->index, AVAHI_PROTO_UNSPEC, 0, name, "_workstation._tcp", NULL, NULL, 9, NULL) < 0) {
144 avahi_s_entry_group_free(hw->entry_group);
145 hw->entry_group = NULL;
147 avahi_s_entry_group_commit(hw->entry_group);
152 if (hw->entry_group && !avahi_s_entry_group_is_empty(hw->entry_group)) {
156 if (avahi_s_entry_group_get_state(hw->entry_group) == AVAHI_ENTRY_GROUP_REGISTERING &&
160 avahi_s_entry_group_reset(hw->entry_group);
268 if (a->entry_group)
269 avahi_s_entry_group_free(a->entry_group);
316 if (hw->entry_group)
317 avahi_s_entry_group_free(hw->entry_group);
392 hw->entry_group = NULL;
425 a->entry_group = NULL;