/external/avahi/avahi-daemon/ |
dbus-entry-group.c | 39 if (i->entry_group) 40 avahi_s_entry_group_free(i->entry_group); 129 if (avahi_s_entry_group_commit(i->entry_group) < 0) 142 avahi_s_entry_group_reset(i->entry_group); 153 return avahi_dbus_respond_boolean(c, m, !!avahi_s_entry_group_is_empty(i->entry_group)); 163 state = avahi_s_entry_group_get_state(i->entry_group); 201 if (avahi_server_add_service_strlst(avahi_server, i->entry_group, (AvahiIfIndex) interface, (AvahiProtocol) protocol, (AvahiPublishFlags) flags, name, type, domain, host, port, strlst) < 0) { 239 if (avahi_server_add_service_subtype(avahi_server, i->entry_group, (AvahiIfIndex) interface, (AvahiProtocol) protocol, (AvahiPublishFlags) flags, name, type, domain, subtype) < 0) 271 if (avahi_server_update_service_txt_strlst(avahi_server, i->entry_group, (AvahiIfIndex) interface, (AvahiProtocol) protocol, (AvahiPublishFlags) flags, name, type, domain, strlst) < 0) { 304 if (avahi_server_add_address(avahi_server, i->entry_group, (AvahiIfIndex) interface, (AvahiProtocol) protocol, (AvahiPublishFlags) flags, name, &a) < 0 [all...] |
static-services.c | 78 AvahiSEntryGroup *entry_group; member in struct:StaticServiceGroup 144 g->entry_group = NULL; 170 if (g->entry_group) 171 avahi_s_entry_group_free(g->entry_group); 227 if (g->entry_group && !avahi_s_entry_group_is_empty(g->entry_group)) 248 if (!g->entry_group) 249 g->entry_group = avahi_s_entry_group_new(avahi_server, entry_group_callback, g); 251 assert(avahi_s_entry_group_is_empty(g->entry_group)); 258 g->entry_group, [all...] |
dbus-internal.h | 53 AvahiSEntryGroup *entry_group; member in struct:EntryGroupInfo
|
dbus-util.c | 417 if (egi->entry_group == g)
|
dbus-protocol.c | 451 if (!(i->entry_group = avahi_s_entry_group_new(avahi_server, avahi_dbus_entry_group_callback, i))) { [all...] |
/external/avahi/avahi-core/ |
iface.c | 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)) { [all...] |
iface.h | 86 AvahiSEntryGroup *entry_group; member in struct:AvahiHwInterface 132 AvahiSEntryGroup *entry_group; member in struct:AvahiInterfaceAddress
|
/external/avahi/avahi-utils/ |
avahi-publish.c | 62 static AvahiEntryGroup *entry_group = NULL; variable 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) { [all...] |
/external/avahi/avahi-compat-libdns_sd/ |
compat.c | 94 AvahiEntryGroup *entry_group; member in struct:_DNSServiceRef_t 380 sdref->entry_group = NULL; 926 sdref->entry_group, 942 sdref->entry_group, 953 if ((ret = avahi_entry_group_commit(sdref->entry_group)) < 0) 967 if (!sdref->entry_group) 1020 avahi_entry_group_reset(sdref->entry_group); 1049 avahi_entry_group_reset(sdref->entry_group); 1168 if (!(sdref->entry_group = avahi_entry_group_new(sdref->client, reg_entry_group_callback, sdref))) { [all...] |
/external/avahi/docs/ |
TODO | 55 * add entry_group::reset()
|
/external/avahi/examples/ |
core-publish-service.c | 122 fprintf(stderr, "Failed to commit entry_group: %s\n", avahi_strerror(ret));
|