28 #include <avahi-common/cdecl.h> void(* timeout_update)(AvahiTimeout *, const struct timeval *tv)
Update the absolute expiration time for a timeout, If tv is NULL, the timeout is disabled.
struct AvahiTimeout AvahiTimeout
A timeout watch object.
void * userdata
Some abstract user data usable by the provider of the API.
Defines an abstracted event polling API.
AvahiWatchEvent(* watch_get_events)(AvahiWatch *w)
Return the events that happened.
struct AvahiWatch AvahiWatch
An I/O watch object.
void(* timeout_free)(AvahiTimeout *t)
Free a timeout.
void(* AvahiTimeoutCallback)(AvahiTimeout *t, void *userdata)
Called when the timeout is reached.
AvahiWatchEvent
Type of watch events.
void(* watch_free)(AvahiWatch *w)
Free a watch.
void(* AvahiWatchCallback)(AvahiWatch *w, int fd, AvahiWatchEvent event, void *userdata)
Called whenever an I/O event happens on an I/O watch.
void(* watch_update)(AvahiWatch *w, AvahiWatchEvent event)
Update the events to wait for.