Home
last modified time | relevance | path

Searched refs:AvahiWatch (Results 1 – 16 of 16) sorted by relevance

/external/avahi/avahi-qt/
Dqt-watch.cpp33 class AvahiWatch : public QObject class
37 AvahiWatch(int fd, AvahiWatchEvent event, AvahiWatchCallback callback, void* userdata);
38 ~AvahiWatch() {} in ~AvahiWatch()
77 AvahiWatch::AvahiWatch(int fd, AvahiWatchEvent event, AvahiWatchCallback callback, void* userdata) … in AvahiWatch() function in AvahiWatch
83 void AvahiWatch::gotIn() in gotIn()
91 void AvahiWatch::gotOut() in gotOut()
99 void AvahiWatch::setWatchedEvents(AvahiWatchEvent event) in setWatchedEvents()
141 static AvahiWatch* q_watch_new(const AvahiPoll *api, int fd, AvahiWatchEvent event, AvahiWatchCallb… in q_watch_new()
144 return new AvahiWatch(fd, event, callback, userdata); in q_watch_new()
147 static void q_watch_update(AvahiWatch *w, AvahiWatchEvent events) in q_watch_update()
[all …]
/external/avahi/avahi-common/
Dwatch.h33 typedef struct AvahiWatch AvahiWatch; typedef
50 typedef void (*AvahiWatchCallback)(AvahiWatch *w, int fd, AvahiWatchEvent event, void *userdata);
68AvahiWatch* (*watch_new)(const AvahiPoll *api, int fd, AvahiWatchEvent event, AvahiWatchCallback c…
71 void (*watch_update)(AvahiWatch *w, AvahiWatchEvent event);
74 AvahiWatchEvent (*watch_get_events)(AvahiWatch *w);
77 void (*watch_free)(AvahiWatch *w);
Dsimple-watch.c37 struct AvahiWatch { struct
47 AVAHI_LLIST_FIELDS(AvahiWatch, watches); argument
76 AVAHI_LLIST_HEAD(AvahiWatch, watches);
132 static AvahiWatch* watch_new(const AvahiPoll *api, int fd, AvahiWatchEvent event, AvahiWatchCallbac… in watch_new()
133 AvahiWatch *w; in watch_new()
143 if (!(w = avahi_new(AvahiWatch, 1))) in watch_new()
162 AVAHI_LLIST_PREPEND(AvahiWatch, watches, s->watches, w); in watch_new()
168 static void watch_update(AvahiWatch *w, AvahiWatchEvent events) { in watch_update()
184 static AvahiWatchEvent watch_get_events(AvahiWatch *w) { in watch_get_events()
194 static void remove_pollfd(AvahiWatch *w) { in remove_pollfd()
[all …]
Ddbus-watch-glue.c115 static void watch_callback(AvahiWatch *avahi_watch, AVAHI_GCC_UNUSED int fd, AvahiWatchEvent events… in watch_callback()
126 AvahiWatch *avahi_watch; in update_watch()
176 AvahiWatch *avahi_watch; in remove_watch()
Dwatch-test.c44 static void callback(AvahiWatch *w, int fd, AvahiWatchEvent event, AVAHI_GCC_UNUSED void *userdata)… in callback()
/external/avahi/avahi-glib/
Dglib-watch.c30 struct AvahiWatch { struct
40 AVAHI_LLIST_FIELDS(AvahiWatch, watches); argument
64 AVAHI_LLIST_HEAD(AvahiWatch, watches);
68 static void destroy_watch(AvahiWatch *w) { in destroy_watch()
74 AVAHI_LLIST_REMOVE(AvahiWatch, watches, w->glib_poll->watches, w); in destroy_watch()
80 AvahiWatch *w, *next; in cleanup_watches()
109 static AvahiWatch* watch_new(const AvahiPoll *api, int fd, AvahiWatchEvent events, AvahiWatchCallba… in watch_new()
110 AvahiWatch *w; in watch_new()
120 if (!(w = avahi_new(AvahiWatch, 1))) in watch_new()
134 AVAHI_LLIST_PREPEND(AvahiWatch, watches, g->watches, w); in watch_new()
[all …]
Dglib-watch-test.c39 static void callback(AvahiWatch *w, int fd, AvahiWatchEvent event, AVAHI_GCC_UNUSED void *userdata)… in callback()
/external/avahi/avahi-utils/
Dsigint.c38 static AvahiWatch *watch = NULL;
67 static void watch_callback(AvahiWatch *w, int fd, AvahiWatchEvent event, AVAHI_GCC_UNUSED void *use… in watch_callback()
/external/avahi/avahi-daemon/
Dsimple-protocol.c79 AvahiWatch *watch;
96 AvahiWatch *watch;
105 static void client_work(AvahiWatch *watch, int fd, AvahiWatchEvent events, void *userdata);
385 static void client_work(AvahiWatch *watch, AVAHI_GCC_UNUSED int fd, AvahiWatchEvent events, void *u… in client_work()
433 static void server_work(AVAHI_GCC_UNUSED AvahiWatch *watch, int fd, AvahiWatchEvent events, void *u… in server_work()
Dmain.c1027 static void inotify_callback(AvahiWatch *watch, int fd, AVAHI_GCC_UNUSED AvahiWatchEvent event, AVA… in inotify_callback()
1054 static void kqueue_callback(AvahiWatch *watch, int fd, AVAHI_GCC_UNUSED AvahiWatchEvent event, AVAH… in kqueue_callback()
1077 static void signal_callback(AvahiWatch *watch, AVAHI_GCC_UNUSED int fd, AVAHI_GCC_UNUSED AvahiWatch… in signal_callback()
1135 AvahiWatch *sig_watch = NULL; in run_server()
1138 AvahiWatch *inotify_watch = NULL; in run_server()
1142 AvahiWatch *kqueue_watch = NULL; in run_server()
/external/avahi/avahi-core/
Diface-pfroute.h27 AvahiWatch *watch;
Dnetlink.c43 AvahiWatch *watch;
104 static void socket_event(AvahiWatch *w, int fd, AVAHI_GCC_UNUSED AvahiWatchEvent event, void *userd… in socket_event()
Dinternal.h136 AvahiWatch *watch_ipv4, *watch_ipv6,
Dwide-area.c85 AvahiWatch *watch_ipv4, *watch_ipv6;
553 static void socket_event(AVAHI_GCC_UNUSED AvahiWatch *w, int fd, AVAHI_GCC_UNUSED AvahiWatchEvent e… in socket_event()
Diface-pfroute.c261 static void socket_event(AvahiWatch *w, int fd, AVAHI_GCC_UNUSED AvahiWatchEvent event,void *userda… in socket_event()
Dserver.c1018 static void mcast_socket_event(AvahiWatch *w, int fd, AvahiWatchEvent events, void *userdata) { in mcast_socket_event()
1054 static void legacy_unicast_socket_event(AvahiWatch *w, int fd, AvahiWatchEvent events, void *userda… in legacy_unicast_socket_event()