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

Comparing libev/ev.h (file contents):
Revision 1.35 by root, Sun Nov 4 23:51:02 2007 UTC vs.
Revision 1.36 by root, Tue Nov 6 00:10:04 2007 UTC

227int ev_version_major (void); 227int ev_version_major (void);
228int ev_version_minor (void); 228int ev_version_minor (void);
229 229
230ev_tstamp ev_time (void); 230ev_tstamp ev_time (void);
231 231
232/* Sets the allocation function to use, works like realloc.
233 * It is used to allocate and free memory.
234 * If it returns zero when memory needs to be allocated, the library might abort
235 * or take some potentially destructive action.
236 * The default is your system realloc function.
237 */
238void ev_set_allocator (void *(*cb)(void *ptr, long size));
239
240/* set the callback function to call on a
241 * retryable syscall error
242 * (such as failed select, poll, epoll_wait)
243 */
244void ev_set_syserr_cb (void (*cb)(void));
245
232# if EV_MULTIPLICITY 246# if EV_MULTIPLICITY
233/* the default loop is the only one that handles signals and child watchers */ 247/* the default loop is the only one that handles signals and child watchers */
234/* you can call this as often as you like */ 248/* you can call this as often as you like */
235struct ev_loop *ev_default_loop (int methods); /* returns default loop */ 249struct ev_loop *ev_default_loop (int methods); /* returns default loop */
236 250

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines