1 #ifndef foothreadedwatchhfoo 2 #define foothreadedwatchhfoo 26 #include <avahi-common/cdecl.h> Simplistic main loop abstraction.
void avahi_threaded_poll_unlock(AvahiThreadedPoll *p)
Unlock the event loop object, use this as counterpart to avahi_threaded_poll_lock() ...
void avahi_threaded_poll_free(AvahiThreadedPoll *p)
Free an event loop object.
void avahi_threaded_poll_quit(AvahiThreadedPoll *p)
Request that the event loop quits and the associated thread stops.
AvahiThreadedPoll * avahi_threaded_poll_new(void)
Create a new event loop object.
const AvahiPoll * avahi_threaded_poll_get(AvahiThreadedPoll *p)
Return the abstracted poll API object for this event loop object.
int avahi_threaded_poll_start(AvahiThreadedPoll *p)
Start the event loop helper thread.
Defines an abstracted event polling API.
void avahi_threaded_poll_lock(AvahiThreadedPoll *p)
Lock the main loop object.
struct AvahiThreadedPoll AvahiThreadedPoll
A main loop object that runs an AvahiSimplePoll in its own thread.
int avahi_threaded_poll_stop(AvahiThreadedPoll *p)
Request that the event loop quits and the associated thread stops.