Home | History | Annotate | Download | only in avahi-utils

Lines Matching full:entry_group

62 static AvahiEntryGroup *entry_group = NULL;
112 if (!entry_group) {
113 if (!(entry_group = avahi_entry_group_new(client, entry_group_callback, config))) {
119 assert(avahi_entry_group_is_empty(entry_group));
123 if (avahi_entry_group_add_address(entry_group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, config->no_reverse ? AVAHI_PUBLISH_NO_REVERSE : 0, config->name, &config->address) < 0) {
133 if (avahi_entry_group_add_service_strlst(entry_group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, config->name, config->stype, config->domain, config->host, config->port, config->txt) < 0) {
139 if (avahi_entry_group_add_service_subtype(entry_group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, config->name, config->stype, config->domain, (char*) i->text) < 0) {
145 avahi_entry_group_commit(entry_group);
167 entry_group = NULL;
197 if (entry_group) {
198 avahi_entry_group_free(entry_group);
199 entry_group = NULL;