/external/avahi/avahi-client/ |
srv-test.c | 54 const AvahiPoll *poll_api; local 61 poll_api = avahi_simple_poll_get(simple_poll); 62 assert(poll_api); 64 client = avahi_client_new(poll_api, 0, NULL, NULL, NULL);
|
rr-test.c | 89 const AvahiPoll *poll_api; local 96 poll_api = avahi_simple_poll_get(simple_poll); 97 assert(poll_api); 99 client = avahi_client_new(poll_api, 0, NULL, NULL, NULL);
|
client-test.c | 36 static const AvahiPoll *poll_api = NULL; variable 227 poll_api = avahi_simple_poll_get(simple_poll); 229 if (!(avahi = avahi_client_new(poll_api, 0, avahi_client_callback, (char*) "omghai2u", &error))) { 304 poll_api->timeout_new(poll_api, &tv, test_entry_group_reset, group); 306 poll_api->timeout_new(poll_api, &tv, test_entry_group_update, group); 308 poll_api->timeout_new(poll_api, &tv, test_free_entry_group, group); 310 poll_api->timeout_new(poll_api, &tv, test_free_domain_browser, sb) [all...] |
internal.h | 30 const AvahiPoll *poll_api; member in struct:AvahiClient
|
/external/avahi/avahi-core/ |
querier-test.c | 41 static const AvahiPoll * poll_api = NULL; variable 75 poll_api->timeout_free(timeout); 89 poll_api = avahi_simple_poll_get(simple_poll); 90 assert(poll_api); 102 server = avahi_server_new(poll_api, &config, NULL, NULL, NULL); 109 poll_api->timeout_new(poll_api, avahi_elapse_time(&tv, 10000, 0), create_second_service_browser, NULL); 111 poll_api->timeout_new(poll_api, avahi_elapse_time(&tv, 60000, 0), quit, NULL);
|
update-test.c | 70 const AvahiPoll *poll_api; local 78 poll_api = avahi_simple_poll_get(simple_poll); 79 assert(poll_api); 83 server = avahi_server_new(poll_api, &config, server_callback, NULL, NULL); 87 poll_api->timeout_new(poll_api, avahi_elapse_time(&tv, 1000*10, 0), modify_txt_callback, server);
|
conformance-test.c | 48 static const AvahiPoll *poll_api; variable 60 poll_api->timeout_update(timeout, &tv); 94 poll_api->timeout_update(timeout, &tv); 129 poll_api = avahi_simple_poll_get(simple_poll); 136 avahi = avahi_server_new(poll_api, &config, server_callback, NULL, &error); 140 poll_api->timeout_new(poll_api, &tv, dump_timeout_callback, avahi); 143 poll_api->timeout_new(poll_api, &tv, rename_timeout_callback, avahi);
|
netlink.c | 42 const AvahiPoll *poll_api; member in struct:AvahiNetlink 114 AvahiNetlink *avahi_netlink_new(const AvahiPoll *poll_api, uint32_t groups, void (*cb) (AvahiNetlink *nl, struct nlmsghdr *n, void* userdata), void* userdata) { 120 assert(poll_api); 148 nl->poll_api = poll_api; 159 if (!(nl->watch = poll_api->watch_new(poll_api, fd, AVAHI_WATCH_IN, socket_event, nl))) { 183 nl->poll_api->watch_free(nl->watch);
|
timeeventq.c | 43 const AvahiPoll *poll_api; member in struct:AvahiTimeEventQueue 71 q->poll_api->timeout_update(q->timeout, &e->expiry); 73 q->poll_api->timeout_update(q->timeout, NULL); 117 AvahiTimeEventQueue* avahi_time_event_queue_new(const AvahiPoll *poll_api) { 125 q->poll_api = poll_api; 130 if (!(q->timeout = poll_api->timeout_new(poll_api, NULL, expiration_event, q))) 156 q->poll_api->timeout_free(q->timeout);
|
avahi-test.c | 48 static const AvahiPoll *poll_api; variable 67 poll_api->timeout_update(timeout, &tv); 344 poll_api = avahi_simple_poll_get(simple_poll); 352 server = avahi_server_new(poll_api, &config, server_callback, NULL, &error); 374 poll_api->timeout_new(poll_api, &tv, dump_timeout_callback, server); 377 poll_api->timeout_new(poll_api, &tv, quit_timeout_callback, simple_poll);
|
internal.h | 103 const AvahiPoll *poll_api; member in struct:AvahiServer
|
/external/avahi/examples/ |
glib-integration.c | 75 const AvahiPoll *poll_api; local 90 poll_api = avahi_glib_poll_get (glib_poll); 97 poll_api->timeout_new (poll_api, /* The AvahiPoll object */ 108 client = avahi_client_new (poll_api, /* AvahiPoll object from above */
|
/external/avahi/avahi-common/ |
dbus-watch-glue.c | 63 const AvahiPoll *poll_api; member in struct:__anon5626 81 d->poll_api->timeout_free(d->dispatch_timeout); 92 d->poll_api->timeout_update(d->dispatch_timeout, &tv); 94 d->poll_api->timeout_update(d->dispatch_timeout, NULL); 125 static dbus_bool_t update_watch(const AvahiPoll *poll_api, DBusWatch *dbus_watch) { 137 if (!(avahi_watch = poll_api->watch_new( 138 poll_api, 153 poll_api->watch_free(avahi_watch); 159 poll_api->watch_update(avahi_watch, dbus_watch_get_flags(dbus_watch)); 171 return update_watch(d->poll_api, dbus_watch) 197 const AvahiPoll *poll_api; member in struct:TimeoutData [all...] |
/external/avahi/avahi-daemon/ |
dbus-internal.h | 169 const AvahiPoll *poll_api; member in struct:Server
|
simple-protocol.c | 94 const AvahiPoll *poll_api; member in struct:Server 122 c->server->poll_api->watch_free(c->watch); 145 c->watch = s->poll_api->watch_new(s->poll_api, fd, AVAHI_WATCH_IN, client_work, c); 166 server->poll_api->watch_update(c->watch, AVAHI_WATCH_OUT); 427 c->server->poll_api->watch_update( 448 int simple_protocol_setup(const AvahiPoll *poll_api) { 456 server->poll_api = poll_api; 518 server->watch = poll_api->watch_new(poll_api, server->fd, AVAHI_WATCH_IN, server_work, server) [all...] |
main.c | 1079 const AvahiPoll *poll_api; local 1134 const AvahiPoll *poll_api = NULL; local [all...] |
/external/avahi/avahi-discover-standalone/ |
main.c | 324 AvahiGLibPoll *poll_api; local 330 poll_api = avahi_glib_poll_new(NULL, G_PRIORITY_DEFAULT); 355 server = avahi_server_new(avahi_glib_poll_get(poll_api), &config, NULL, NULL, &error); 365 avahi_glib_poll_free(poll_api);
|