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

Comparing libev/ev_vars.h (file contents):
Revision 1.23 by root, Tue Dec 25 07:05:46 2007 UTC vs.
Revision 1.24 by root, Thu Jan 31 13:10:56 2008 UTC

1/* 1/*
2 * loop member variable declarations 2 * loop member variable declarations
3 * 3 *
4 * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007,2008 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 *
52 52
53VARx(int, backend_fd) 53VARx(int, backend_fd)
54VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ 54VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
55VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) 55VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev))
56VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) 56VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
57
58VAR (evpipe, int evpipe [2])
59VARx(ev_io, pipeev)
57 60
58#if !defined(_WIN32) || EV_GENWRAP 61#if !defined(_WIN32) || EV_GENWRAP
59VARx(pid_t, curpid) 62VARx(pid_t, curpid)
60#endif 63#endif
61 64
135VARx(struct ev_fork **, forks) 138VARx(struct ev_fork **, forks)
136VARx(int, forkmax) 139VARx(int, forkmax)
137VARx(int, forkcnt) 140VARx(int, forkcnt)
138#endif 141#endif
139 142
143#if EV_ASYNC_ENABLE || EV_GENWRAP
144VARx(EV_ATOMIC_T, gotasync)
145VARx(struct ev_async **, asyncs)
146VARx(int, asyncmax)
147VARx(int, asynccnt)
148#endif
149
140#if EV_USE_INOTIFY || EV_GENWRAP 150#if EV_USE_INOTIFY || EV_GENWRAP
141VARx(int, fs_fd) 151VARx(int, fs_fd)
142VARx(ev_io, fs_w) 152VARx(ev_io, fs_w)
143VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) 153VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE])
144#endif 154#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines