ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/event.h
(Generate patch)

Comparing libev/event.h (file contents):
Revision 1.11 by root, Thu Nov 8 21:08:56 2007 UTC vs.
Revision 1.13 by root, Thu Nov 8 21:14:36 2007 UTC

102void event_set (struct event *ev, int fd, short events, void (*cb)(int, short, void *), void *arg); 102void event_set (struct event *ev, int fd, short events, void (*cb)(int, short, void *), void *arg);
103int event_once (int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv); 103int event_once (int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv);
104 104
105int event_add (struct event *ev, struct timeval *tv); 105int event_add (struct event *ev, struct timeval *tv);
106int event_del (struct event *ev); 106int event_del (struct event *ev);
107void event_active(struct event *ev, int res, short ncalls); /* ncalls is being ignored */ 107void event_active (struct event *ev, int res, short ncalls); /* ncalls is being ignored */
108 108
109int event_pending (struct event *ev, short, struct timeval *tv); 109int event_pending (struct event *ev, short, struct timeval *tv);
110 110
111int event_priority_init (int npri); 111int event_priority_init (int npri);
112int event_priority_set (struct event *ev, int pri); 112int event_priority_set (struct event *ev, int pri);
119int event_base_dispatch (struct event_base *base); 119int event_base_dispatch (struct event_base *base);
120int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv); 120int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv);
121int event_base_priority_init (struct event_base *base, int fd); 121int event_base_priority_init (struct event_base *base, int fd);
122 122
123#ifndef EV_STANDALONE 123#ifndef EV_STANDALONE
124# include "event_compat.h" 124# include <event_compat.h>
125#endif 125#endif
126 126
127#ifdef __cplusplus 127#ifdef __cplusplus
128} 128}
129#endif 129#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines