… | |
… | |
310 | |
310 | |
311 | /*****************************************************************************/ |
311 | /*****************************************************************************/ |
312 | /* convenience wrappers */ |
312 | /* convenience wrappers */ |
313 | |
313 | |
314 | #ifndef EIO_NO_WRAPPERS |
314 | #ifndef EIO_NO_WRAPPERS |
|
|
315 | eio_req *eio_wd_open (const char *path, int pri, eio_cb cb, void *data); /* result=wd */ |
|
|
316 | eio_req *eio_wd_close (eio_wd wd, int pri, eio_cb cb, void *data); |
315 | eio_req *eio_nop (int pri, eio_cb cb, void *data); /* does nothing except go through the whole process */ |
317 | eio_req *eio_nop (int pri, eio_cb cb, void *data); /* does nothing except go through the whole process */ |
316 | eio_req *eio_busy (eio_tstamp delay, int pri, eio_cb cb, void *data); /* ties a thread for this long, simulating busyness */ |
318 | eio_req *eio_busy (eio_tstamp delay, int pri, eio_cb cb, void *data); /* ties a thread for this long, simulating busyness */ |
317 | eio_req *eio_sync (int pri, eio_cb cb, void *data); |
319 | eio_req *eio_sync (int pri, eio_cb cb, void *data); |
318 | eio_req *eio_fsync (int fd, int pri, eio_cb cb, void *data); |
320 | eio_req *eio_fsync (int fd, int pri, eio_cb cb, void *data); |
319 | eio_req *eio_fdatasync (int fd, int pri, eio_cb cb, void *data); |
321 | eio_req *eio_fdatasync (int fd, int pri, eio_cb cb, void *data); |