summaryrefslogtreecommitdiff
path: root/ev_vars.h
diff options
context:
space:
mode:
authorroot <root>2007-11-28 11:15:55 +0000
committerroot <root>2007-11-28 11:15:55 +0000
commit4ebe9e295b974622f802229ca8e371ee6df9525a (patch)
tree0c3f1d6e3809cd03135b74017e13dd5c653301c3 /ev_vars.h
parent69279317e8626dfa1b0d6719ac4e0d68d525645b (diff)
experimental, and likely broken, inotify support
Diffstat (limited to 'ev_vars.h')
-rw-r--r--ev_vars.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/ev_vars.h b/ev_vars.h
index c1bfaa4..3750492 100644
--- a/ev_vars.h
+++ b/ev_vars.h
@@ -2,7 +2,7 @@
VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */
VARx(ev_tstamp, mn_now) /* monotonic clock "now" */
-VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */
+VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */
VARx(int, backend)
VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
@@ -11,7 +11,7 @@ VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
VARx(int, backend_fd)
VARx(int, postfork) /* true if we need to recreate kernel state after fork */
-VARx(int, activecnt) /* number of active events */
+VARx(int, activecnt) /* total number of active events ("refcount") */
#if EV_USE_SELECT || EV_GENWRAP
VARx(void *, vec_ri)
@@ -86,5 +86,11 @@ VARx(int, forkmax)
VARx(int, forkcnt)
#endif
+#if EV_USE_INOTIFY || EV_GENWRAP
+VARx(int, fs_fd)
+VARx(ev_io, fs_w);
+VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE])
+#endif
+
#undef VARx