Lines Matching defs:service
65 struct service {
67 DNSServiceRef service;
87 static void get_service_data(struct service *s, pa_sample_spec *ret_ss, pa_channel_map *ret_map, const char **ret_name, pa_proplist **ret_proplist, enum service_subtype *ret_subtype) {
142 static void service_free(struct service *s);
151 struct service *s = context;
157 pa_log("DNS service reported kDNSServiceErr_NameConflict\n");
191 static int publish_service(struct service *s) {
210 if (s->service) {
211 DNSServiceRefDeallocate(s->service);
212 s->service = NULL;
250 err = DNSServiceRegister(&s->service,
272 /* Remove this service */
281 static struct service *get_service(struct userdata *u, pa_object *device) {
282 struct service *s;
292 s = pa_xnew0(struct service, 1);
317 static void service_free(struct service *s) {
322 if (s->service)
323 DNSServiceRefDeallocate(s->service);
352 struct service *s;
421 struct service *s;