Lines Matching refs:simple_poll
81 AvahiSimplePoll *simple_poll; member
196 if ((ret = avahi_simple_poll_run(self->simple_poll)) < 0) { in thread_func()
362 (*self)->simple_poll = NULL; in sw_discovery_init()
376 if (!((*self)->simple_poll = avahi_simple_poll_new())) in sw_discovery_init()
379 avahi_simple_poll_set_func((*self)->simple_poll, poll_func, *self); in sw_discovery_init()
381 …if (!((*self)->client = avahi_client_new(avahi_simple_poll_get((*self)->simple_poll), 0, client_ca… in sw_discovery_init()
387 if (avahi_simple_poll_prepare((*self)->simple_poll, -1) < 0) in sw_discovery_init()
418 avahi_simple_poll_wakeup(self->simple_poll); in stop_thread()
446 if (self->simple_poll) in discovery_unref()
447 avahi_simple_poll_free(self->simple_poll); in discovery_unref()
512 if (avahi_simple_poll_dispatch(self->simple_poll) < 0) in sw_discovery_read_socket()
518 if (avahi_simple_poll_prepare(self->simple_poll, -1) < 0) in sw_discovery_read_socket()