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

Comparing libev/event.h (file contents):
Revision 1.7 by root, Sun Nov 4 00:24:17 2007 UTC vs.
Revision 1.8 by root, Sun Nov 4 16:52:52 2007 UTC

29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31#ifndef _EVENT_H_ 31#ifndef _EVENT_H_
32#define _EVENT_H_ 32#define _EVENT_H_
33 33
34#ifndef EV_EMBED
34#include "ev.h" 35# include "ev.h"
36#endif
35 37
36#ifdef __cplusplus 38#ifdef __cplusplus
37extern "C" { 39extern "C" {
38#endif 40#endif
39 41
119int event_base_loopexit (struct event_base *base, struct timeval *tv); 121int event_base_loopexit (struct event_base *base, struct timeval *tv);
120int event_base_dispatch (struct event_base *base); 122int event_base_dispatch (struct event_base *base);
121int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv); 123int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv);
122int event_base_priority_init (struct event_base *base, int fd); 124int event_base_priority_init (struct event_base *base, int fd);
123 125
124#ifndef EV_STANDALONE 126#ifndef EV_EMBED
125# include "event_compat.h" 127# include "event_compat.h"
126#endif 128#endif
127 129
128#ifdef __cplusplus 130#ifdef __cplusplus
129} 131}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines