ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_wrap.h
Revision: 1.21
Committed: Wed Apr 15 17:49:27 2009 UTC (15 years, 1 month ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.20: +6 -0 lines
Log Message:
keepalive fix

File Contents

# User Rev Content
1 root 1.6 /* DO NOT EDIT, automatically generated by update_ev_wrap */
2 root 1.15 #ifndef EV_WRAP_H
3     #define EV_WRAP_H
4 root 1.1 #define now_floor ((loop)->now_floor)
5     #define mn_now ((loop)->mn_now)
6     #define rtmn_diff ((loop)->rtmn_diff)
7 root 1.16 #define io_blocktime ((loop)->io_blocktime)
8     #define timeout_blocktime ((loop)->timeout_blocktime)
9 root 1.7 #define backend ((loop)->backend)
10 root 1.12 #define activecnt ((loop)->activecnt)
11 root 1.15 #define loop_count ((loop)->loop_count)
12 root 1.16 #define backend_fd ((loop)->backend_fd)
13 root 1.7 #define backend_fudge ((loop)->backend_fudge)
14     #define backend_modify ((loop)->backend_modify)
15     #define backend_poll ((loop)->backend_poll)
16 root 1.18 #define evfd ((loop)->evfd)
17 root 1.17 #define evpipe ((loop)->evpipe)
18     #define pipeev ((loop)->pipeev)
19 root 1.12 #define curpid ((loop)->curpid)
20 root 1.3 #define postfork ((loop)->postfork)
21 root 1.1 #define vec_ri ((loop)->vec_ri)
22     #define vec_ro ((loop)->vec_ro)
23     #define vec_wi ((loop)->vec_wi)
24     #define vec_wo ((loop)->vec_wo)
25 root 1.19 #define vec_eo ((loop)->vec_eo)
26 root 1.1 #define vec_max ((loop)->vec_max)
27     #define polls ((loop)->polls)
28     #define pollmax ((loop)->pollmax)
29     #define pollcnt ((loop)->pollcnt)
30     #define pollidxs ((loop)->pollidxs)
31     #define pollidxmax ((loop)->pollidxmax)
32     #define epoll_events ((loop)->epoll_events)
33     #define epoll_eventmax ((loop)->epoll_eventmax)
34     #define kqueue_changes ((loop)->kqueue_changes)
35     #define kqueue_changemax ((loop)->kqueue_changemax)
36     #define kqueue_changecnt ((loop)->kqueue_changecnt)
37     #define kqueue_events ((loop)->kqueue_events)
38     #define kqueue_eventmax ((loop)->kqueue_eventmax)
39 root 1.6 #define port_events ((loop)->port_events)
40     #define port_eventmax ((loop)->port_eventmax)
41 root 1.1 #define anfds ((loop)->anfds)
42     #define anfdmax ((loop)->anfdmax)
43     #define pendings ((loop)->pendings)
44     #define pendingmax ((loop)->pendingmax)
45     #define pendingcnt ((loop)->pendingcnt)
46 root 1.21 #define rfeeds ((loop)->rfeeds)
47     #define rfeedmax ((loop)->rfeedmax)
48     #define rfeedcnt ((loop)->rfeedcnt)
49 root 1.1 #define fdchanges ((loop)->fdchanges)
50     #define fdchangemax ((loop)->fdchangemax)
51     #define fdchangecnt ((loop)->fdchangecnt)
52     #define timers ((loop)->timers)
53     #define timermax ((loop)->timermax)
54     #define timercnt ((loop)->timercnt)
55     #define periodics ((loop)->periodics)
56     #define periodicmax ((loop)->periodicmax)
57     #define periodiccnt ((loop)->periodiccnt)
58     #define idles ((loop)->idles)
59     #define idlemax ((loop)->idlemax)
60     #define idlecnt ((loop)->idlecnt)
61 root 1.14 #define idleall ((loop)->idleall)
62 root 1.1 #define prepares ((loop)->prepares)
63     #define preparemax ((loop)->preparemax)
64     #define preparecnt ((loop)->preparecnt)
65     #define checks ((loop)->checks)
66     #define checkmax ((loop)->checkmax)
67     #define checkcnt ((loop)->checkcnt)
68 root 1.9 #define forks ((loop)->forks)
69     #define forkmax ((loop)->forkmax)
70     #define forkcnt ((loop)->forkcnt)
71 root 1.17 #define gotasync ((loop)->gotasync)
72     #define asyncs ((loop)->asyncs)
73     #define asyncmax ((loop)->asyncmax)
74     #define asynccnt ((loop)->asynccnt)
75 root 1.10 #define fs_fd ((loop)->fs_fd)
76 root 1.11 #define fs_w ((loop)->fs_w)
77 root 1.20 #define fs_2625 ((loop)->fs_2625)
78 root 1.10 #define fs_hash ((loop)->fs_hash)
79 root 1.15 #else
80     #undef EV_WRAP_H
81     #undef now_floor
82     #undef mn_now
83     #undef rtmn_diff
84 root 1.16 #undef io_blocktime
85     #undef timeout_blocktime
86 root 1.15 #undef backend
87     #undef activecnt
88     #undef loop_count
89 root 1.16 #undef backend_fd
90 root 1.15 #undef backend_fudge
91     #undef backend_modify
92     #undef backend_poll
93 root 1.18 #undef evfd
94 root 1.17 #undef evpipe
95     #undef pipeev
96 root 1.15 #undef curpid
97     #undef postfork
98     #undef vec_ri
99     #undef vec_ro
100     #undef vec_wi
101     #undef vec_wo
102 root 1.19 #undef vec_eo
103 root 1.15 #undef vec_max
104     #undef polls
105     #undef pollmax
106     #undef pollcnt
107     #undef pollidxs
108     #undef pollidxmax
109     #undef epoll_events
110     #undef epoll_eventmax
111     #undef kqueue_changes
112     #undef kqueue_changemax
113     #undef kqueue_changecnt
114     #undef kqueue_events
115     #undef kqueue_eventmax
116     #undef port_events
117     #undef port_eventmax
118     #undef anfds
119     #undef anfdmax
120     #undef pendings
121     #undef pendingmax
122     #undef pendingcnt
123 root 1.21 #undef rfeeds
124     #undef rfeedmax
125     #undef rfeedcnt
126 root 1.15 #undef fdchanges
127     #undef fdchangemax
128     #undef fdchangecnt
129     #undef timers
130     #undef timermax
131     #undef timercnt
132     #undef periodics
133     #undef periodicmax
134     #undef periodiccnt
135     #undef idles
136     #undef idlemax
137     #undef idlecnt
138     #undef idleall
139     #undef prepares
140     #undef preparemax
141     #undef preparecnt
142     #undef checks
143     #undef checkmax
144     #undef checkcnt
145     #undef forks
146     #undef forkmax
147     #undef forkcnt
148 root 1.17 #undef gotasync
149     #undef asyncs
150     #undef asyncmax
151     #undef asynccnt
152 root 1.15 #undef fs_fd
153     #undef fs_w
154 root 1.20 #undef fs_2625
155 root 1.15 #undef fs_hash
156     #endif