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.26 by root, Sun Apr 6 09:53:18 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
58#if EV_USE_EVENTFD || EV_GENWRAP
59VARx(int, evfd)
60#endif
61VAR (evpipe, int evpipe [2])
62VARx(ev_io, pipeev)
57 63
58#if !defined(_WIN32) || EV_GENWRAP 64#if !defined(_WIN32) || EV_GENWRAP
59VARx(pid_t, curpid) 65VARx(pid_t, curpid)
60#endif 66#endif
61 67
135VARx(struct ev_fork **, forks) 141VARx(struct ev_fork **, forks)
136VARx(int, forkmax) 142VARx(int, forkmax)
137VARx(int, forkcnt) 143VARx(int, forkcnt)
138#endif 144#endif
139 145
146VARx(EV_ATOMIC_T, gotasync)
147#if EV_ASYNC_ENABLE || EV_GENWRAP
148VARx(struct ev_async **, asyncs)
149VARx(int, asyncmax)
150VARx(int, asynccnt)
151#endif
152
140#if EV_USE_INOTIFY || EV_GENWRAP 153#if EV_USE_INOTIFY || EV_GENWRAP
141VARx(int, fs_fd) 154VARx(int, fs_fd)
142VARx(ev_io, fs_w) 155VARx(ev_io, fs_w)
143VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) 156VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE])
144#endif 157#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines