Lines Matching refs:poll_api
1079 const AvahiPoll *poll_api; in signal_callback() local
1084 poll_api = avahi_simple_poll_get(simple_poll_api); in signal_callback()
1088 poll_api->watch_free(watch); in signal_callback()
1134 const AvahiPoll *poll_api = NULL; in run_server() local
1157 poll_api = avahi_simple_poll_get(simple_poll_api); in run_server()
1164 …if (!(sig_watch = poll_api->watch_new(poll_api, daemon_signal_fd(), AVAHI_WATCH_IN, signal_callbac… in run_server()
1170 if (simple_protocol_setup(poll_api) < 0) in run_server()
1176 if (dbus_protocol_setup(poll_api, in run_server()
1221 …if (!(inotify_watch = poll_api->watch_new(poll_api, inotify_fd, AVAHI_WATCH_IN, inotify_callback, … in run_server()
1234 … if (!(kqueue_watch = poll_api->watch_new(poll_api, kq, AVAHI_WATCH_IN, kqueue_callback, NULL))) { in run_server()
1250 … if (!(avahi_server = avahi_server_new(poll_api, &c->server_config, server_callback, c, &error))) { in run_server()
1306 poll_api->watch_free(sig_watch); in run_server()
1310 poll_api->watch_free(inotify_watch); in run_server()
1317 poll_api->watch_free(kqueue_watch); in run_server()