Lines Matching refs:poll_api

63     const AvahiPoll *poll_api;  member
81 d->poll_api->timeout_free(d->dispatch_timeout); in connection_data_unref()
92 d->poll_api->timeout_update(d->dispatch_timeout, &tv); in request_dispatch()
94 d->poll_api->timeout_update(d->dispatch_timeout, NULL); in request_dispatch()
125 static dbus_bool_t update_watch(const AvahiPoll *poll_api, DBusWatch *dbus_watch) { in update_watch() argument
137 if (!(avahi_watch = poll_api->watch_new( in update_watch()
138 poll_api, in update_watch()
153 poll_api->watch_free(avahi_watch); in update_watch()
159 poll_api->watch_update(avahi_watch, dbus_watch_get_flags(dbus_watch)); in update_watch()
171 return update_watch(d->poll_api, dbus_watch); in add_watch()
182 d->poll_api->watch_free(avahi_watch); in remove_watch()
193 update_watch(d->poll_api, dbus_watch); in watch_toggled()
197 const AvahiPoll *poll_api; member
217 t->poll_api->timeout_free(t->avahi_timeout); in timeout_data_unref()
230 timeout->poll_api->timeout_update(timeout-> in update_timeout()
233 timeout->poll_api->timeout_update(timeout->avahi_timeout, NULL); in update_timeout()
267 timeout->poll_api = d->poll_api; in add_timeout()
273 if (!(timeout->avahi_timeout = d->poll_api->timeout_new( in add_timeout()
274 d->poll_api, in add_timeout()
296 d->poll_api->timeout_free(timeout->avahi_timeout); in remove_timeout()
317 int avahi_dbus_connection_glue(DBusConnection *c, const AvahiPoll *poll_api) { in avahi_dbus_connection_glue() argument
321 assert(poll_api); in avahi_dbus_connection_glue()
326 d->poll_api = poll_api; in avahi_dbus_connection_glue()
330 … if (!(d->dispatch_timeout = poll_api->timeout_new(poll_api, NULL, dispatch_timeout_callback, d))) in avahi_dbus_connection_glue()
351 d->poll_api->timeout_free(d->dispatch_timeout); in avahi_dbus_connection_glue()