Logo Search packages:      
Sourcecode: avahi version File versions  Download package

watch.h File Reference


Detailed Description

Simplistic main loop abstraction

Definition in file watch.h.

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

Go to the source code of this file.

Classes

struct  AvahiPoll

Typedefs

typedef struct AvahiPoll AvahiPoll
typedef struct AvahiTimeout AvahiTimeout
typedef void(* AvahiTimeoutCallback )(AvahiTimeout *t, void *userdata)
typedef
typedefAVAHI_C_DECL_BEGIN
struct AvahiWatch 
AvahiWatch
typedef void(* AvahiWatchCallback )(AvahiWatch *w, int fd, AvahiWatchEvent event, void *userdata)

Enumerations

enum  AvahiWatchEvent { AVAHI_WATCH_IN = POLLIN, AVAHI_WATCH_OUT = POLLOUT, AVAHI_WATCH_ERR = POLLERR, AVAHI_WATCH_HUP = POLLHUP }


Generated by  Doxygen 1.6.0   Back to index