|
avahi
0.7
|
Simplistic main loop abstraction. More...
#include <poll.h>#include <sys/time.h>#include <avahi-common/cdecl.h>Go to the source code of this file.
Data Structures | |
| struct | AvahiPoll |
| Defines an abstracted event polling API. More... | |
Typedefs | |
| typedef struct AvahiWatch | AvahiWatch |
| An I/O watch object. More... | |
| typedef struct AvahiTimeout | AvahiTimeout |
| A timeout watch object. More... | |
| typedef struct AvahiPoll | AvahiPoll |
| An event polling abstraction object. More... | |
| typedef void(* | AvahiWatchCallback) (AvahiWatch *w, int fd, AvahiWatchEvent event, void *userdata) |
| Called whenever an I/O event happens on an I/O watch. More... | |
| typedef void(* | AvahiTimeoutCallback) (AvahiTimeout *t, void *userdata) |
| Called when the timeout is reached. More... | |
Enumerations | |
| enum | AvahiWatchEvent { AVAHI_WATCH_IN = POLLIN, AVAHI_WATCH_OUT = POLLOUT, AVAHI_WATCH_ERR = POLLERR, AVAHI_WATCH_HUP = POLLHUP } |
| Type of watch events. More... | |
Simplistic main loop abstraction.
Definition in file watch.h.
| typedef struct AvahiTimeout AvahiTimeout |
| typedef void(* AvahiTimeoutCallback) (AvahiTimeout *t, void *userdata) |
| typedef struct AvahiWatch AvahiWatch |
| typedef void(* AvahiWatchCallback) (AvahiWatch *w, int fd, AvahiWatchEvent event, void *userdata) |
| enum AvahiWatchEvent |