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

Comparing libev/event.h (file contents):
Revision 1.8 by root, Sun Nov 4 16:52:52 2007 UTC vs.
Revision 1.9 by root, Sun Nov 4 18:15:16 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
35# include "ev.h" 34#include <ev.h>
36#endif
37 35
38#ifdef __cplusplus 36#ifdef __cplusplus
39extern "C" { 37extern "C" {
40#endif 38#endif
41 39
121int event_base_loopexit (struct event_base *base, struct timeval *tv); 119int event_base_loopexit (struct event_base *base, struct timeval *tv);
122int event_base_dispatch (struct event_base *base); 120int event_base_dispatch (struct event_base *base);
123int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv); 121int event_base_once (struct event_base *base, int fd, short events, void (*cb)(int, short, void *), void *arg, struct timeval *tv);
124int event_base_priority_init (struct event_base *base, int fd); 122int event_base_priority_init (struct event_base *base, int fd);
125 123
126#ifndef EV_EMBED 124#ifndef EV_STANDALONE
127# include "event_compat.h" 125# include "event_compat.h"
128#endif 126#endif
129 127
130#ifdef __cplusplus 128#ifdef __cplusplus
131} 129}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines