Lines Matching refs:service_data

59 typedef struct service_data service_data;  typedef
67 service_data *service_data; member
71 struct service_data { struct
76 AVAHI_LLIST_FIELDS(service_data, services); argument
94 AVAHI_LLIST_HEAD(service_data, services);
261 self->oid_table[oid].service_data = NULL; in oid_release()
276 static service_data* service_data_new(sw_discovery self) { in service_data_new()
277 service_data *sdata; in service_data_new()
281 if (!(sdata = avahi_new0(service_data, 1))) in service_data_new()
284 AVAHI_LLIST_PREPEND(service_data, services, self->services, sdata); in service_data_new()
290 static void service_data_free(sw_discovery self, service_data* sdata) { in service_data_free()
294 AVAHI_LLIST_REMOVE(service_data, services, self->services, sdata); in service_data_free()
650 real_type = avahi_get_type_from_subtype(data->service_data->regtype); in reg_create_service()
654 data->service_data->interface, in reg_create_service()
657 data->service_data->name, in reg_create_service()
658 real_type ? real_type : data->service_data->regtype, in reg_create_service()
659 data->service_data->domain, in reg_create_service()
660 data->service_data->host, in reg_create_service()
661 data->service_data->port, in reg_create_service()
662 data->service_data->txt)) < 0) in reg_create_service()
670 data->service_data->interface, in reg_create_service()
673 data->service_data->name, in reg_create_service()
675 data->service_data->domain, in reg_create_service()
676 data->service_data->regtype) < 0) in reg_create_service()
770 service_data *sdata; in sw_discovery_publish()
800 data->service_data = sdata; in sw_discovery_publish()
1160 if (data->service_data) { in sw_discovery_cancel()
1162 service_data_free(self, data->service_data); in sw_discovery_cancel()