Home
last modified time | relevance | path

Searched refs:AVAHI_WATCH_IN (Results 1 – 13 of 13) sorted by relevance

/external/avahi/avahi-qt/
Dqt-watch.cpp85 m_lastEvent = AVAHI_WATCH_IN; in gotIn()
93 m_lastEvent = AVAHI_WATCH_IN; in gotOut()
101 if (!(event & AVAHI_WATCH_IN)) { delete m_in; m_in=0; } in setWatchedEvents()
103 if (event & AVAHI_WATCH_IN) { in setWatchedEvents()
/external/avahi/avahi-glib/
Dglib-watch-test.c41 if (event & AVAHI_WATCH_IN) { in callback()
77 api->watch_new(api, 0, AVAHI_WATCH_IN, callback, NULL); in main()
Dglib-watch.c95 (events & AVAHI_WATCH_IN ? G_IO_IN : 0) | in map_events_to_glib()
103 (events & G_IO_IN ? AVAHI_WATCH_IN : 0) | in map_events_from_glib()
/external/avahi/avahi-common/
Dwatch-test.c46 if (event & AVAHI_WATCH_IN) { in callback()
93 api->watch_new(api, 0, AVAHI_WATCH_IN, callback, NULL); in main()
Dwatch.h43 AVAHI_WATCH_IN = POLLIN, /**< Input event */ enumerator
Ddbus-watch-glue.c35 e |= AVAHI_WATCH_IN; in translate_dbus_to_avahi()
49 if (e & AVAHI_WATCH_IN) in translate_avahi_to_dbus()
/external/avahi/avahi-utils/
Dsigint.c73 assert(event == AVAHI_WATCH_IN); in watch_callback()
116 watch = p->watch_new(p, pipe_fds[0], AVAHI_WATCH_IN, watch_callback, NULL); in sigint_install()
/external/avahi/avahi-daemon/
Dsimple-protocol.c145 c->watch = s->poll_api->watch_new(s->poll_api, fd, AVAHI_WATCH_IN, client_work, c); in client_new()
390 if ((events & AVAHI_WATCH_IN) && c->inbuf_length < sizeof(c->inbuf)) { in client_work()
430 (c->inbuf_length < sizeof(c->inbuf) ? AVAHI_WATCH_IN : 0)); in client_work()
438 if (events & AVAHI_WATCH_IN) { in server_work()
518 server->watch = poll_api->watch_new(poll_api, server->fd, AVAHI_WATCH_IN, server_work, server); in simple_protocol_setup()
Dmain.c1164 …if (!(sig_watch = poll_api->watch_new(poll_api, daemon_signal_fd(), AVAHI_WATCH_IN, signal_callbac… 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()
/external/avahi/avahi-core/
Dnetlink.c159 if (!(nl->watch = poll_api->watch_new(poll_api, fd, AVAHI_WATCH_IN, socket_event, nl))) { in avahi_netlink_new()
Dserver.c1028 assert(events & AVAHI_WATCH_IN); in mcast_socket_event()
1060 assert(events & AVAHI_WATCH_IN); in legacy_unicast_socket_event()
1348 …s->watch_ipv4 = s->poll_api->watch_new(s->poll_api, s->fd_ipv4, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1350 …s->watch_ipv6 = s->poll_api->watch_new(s->poll_api, s->fd_ipv6, AVAHI_WATCH_IN, mcast_socket_event… in setup_sockets()
1353 …pv4 = s->poll_api->watch_new(s->poll_api, s->fd_legacy_unicast_ipv4, AVAHI_WATCH_IN, legacy_unicas… in setup_sockets()
1355 …pv6 = s->poll_api->watch_new(s->poll_api, s->fd_legacy_unicast_ipv6, AVAHI_WATCH_IN, legacy_unicas… in setup_sockets()
Dwide-area.c601 …e->watch_ipv4 = s->poll_api->watch_new(e->server->poll_api, e->fd_ipv4, AVAHI_WATCH_IN, socket_eve… in avahi_wide_area_engine_new()
603 …e->watch_ipv6 = s->poll_api->watch_new(e->server->poll_api, e->fd_ipv6, AVAHI_WATCH_IN, socket_eve… in avahi_wide_area_engine_new()
Diface-pfroute.c304 AVAHI_WATCH_IN, in avahi_interface_monitor_init_osdep()