Logo Search packages:      
Sourcecode: avahi version File versions

simple-watch.h File Reference


Detailed Description

Simple poll() based main loop implementation

Definition in file simple-watch.h.

#include <sys/poll.h>
#include <avahi-common/cdecl.h>
#include <avahi-common/watch.h>

Go to the source code of this file.

Typedefs

typedef int(* AvahiPollFunc )(struct pollfd *ufds, unsigned int nfds, int timeout, void *userdata)
typedef
typedefAVAHI_C_DECL_BEGIN
struct AvahiSimplePoll 
AvahiSimplePoll

Functions

int avahi_simple_poll_dispatch (AvahiSimplePoll *s)
void avahi_simple_poll_free (AvahiSimplePoll *s)
const AvahiPollavahi_simple_poll_get (AvahiSimplePoll *s)
int avahi_simple_poll_iterate (AvahiSimplePoll *s, int sleep_time)
int avahi_simple_poll_loop (AvahiSimplePoll *s)
AvahiSimplePollavahi_simple_poll_new (void)
int avahi_simple_poll_prepare (AvahiSimplePoll *s, int timeout)
void avahi_simple_poll_quit (AvahiSimplePoll *s)
int avahi_simple_poll_run (AvahiSimplePoll *s)
void avahi_simple_poll_set_func (AvahiSimplePoll *s, AvahiPollFunc func, void *userdata)
void avahi_simple_poll_wakeup (AvahiSimplePoll *s)


Generated by  Doxygen 1.6.0   Back to index