1 | /* |
1 | /* |
2 | * loop member variable declarations |
2 | * loop member variable declarations |
3 | * |
3 | * |
4 | * Copyright (c) 2007,2008 Marc Alexander Lehmann <libev@schmorp.de> |
4 | * Copyright (c) 2007,2008,2009 Marc Alexander Lehmann <libev@schmorp.de> |
5 | * All rights reserved. |
5 | * All rights reserved. |
6 | * |
6 | * |
7 | * Redistribution and use in source and binary forms, with or without modifica- |
7 | * Redistribution and use in source and binary forms, with or without modifica- |
8 | * tion, are permitted provided that the following conditions are met: |
8 | * tion, are permitted provided that the following conditions are met: |
9 | * |
9 | * |
… | |
… | |
47 | VARx(ev_tstamp, timeout_blocktime) |
47 | VARx(ev_tstamp, timeout_blocktime) |
48 | |
48 | |
49 | VARx(int, backend) |
49 | VARx(int, backend) |
50 | VARx(int, activecnt) /* total number of active events ("refcount") */ |
50 | VARx(int, activecnt) /* total number of active events ("refcount") */ |
51 | VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ |
51 | VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ |
|
|
52 | VARx(unsigned int, loop_depth) /* #ev_loop enters - #ev_loop leaves */ |
|
|
53 | VARx(char, loop_done) /* signal by ev_unloop */ |
52 | |
54 | |
53 | VARx(int, backend_fd) |
55 | VARx(int, backend_fd) |
54 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
56 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
55 | VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) |
57 | VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) |
56 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
58 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
… | |
… | |
164 | VARx(ev_io, fs_w) |
166 | VARx(ev_io, fs_w) |
165 | VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */ |
167 | VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */ |
166 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
168 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
167 | #endif |
169 | #endif |
168 | |
170 | |
|
|
171 | VARx(void *, userdata) |
|
|
172 | VAR (suspend_cb, void (*suspend_cb)(EV_P)) |
|
|
173 | VAR (resume_cb , void (*resume_cb) (EV_P)) |
|
|
174 | VAR (invoke_cb , void (*invoke_cb) (EV_P)) |
|
|
175 | |
169 | #undef VARx |
176 | #undef VARx |
170 | |
177 | |