summaryrefslogtreecommitdiff
path: root/eio.h
diff options
context:
space:
mode:
authorroot <root>2008-05-10 23:33:40 +0000
committerroot <root>2008-05-10 23:33:40 +0000
commit6ecb7a8b6f0c086d9d5aba1bda289a0383e8f83f (patch)
tree7a3a638fd033cde1ab393a24e62a38719938d1ed /eio.h
parentbd850bb93a4c5f48c254c9c7ddd44d16ffde99cb (diff)
*** empty log message ***
Diffstat (limited to 'eio.h')
-rw-r--r--eio.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/eio.h b/eio.h
index 9de84d0..d34c3eb 100644
--- a/eio.h
+++ b/eio.h
@@ -46,8 +46,8 @@ struct eio_req
size_t size; /* read, write, readahead, sendfile: length */
void *ptr1; /* all applicable requests: pathname, old name */
void *ptr2; /* all applicable requests: new name or memory buffer */
- eio_tstamp nv1; /* utime, futime: atime; busy: sleep time */
- eio_tstamp nv2; /* utime, futime: mtime */
+ eio_tstamp nv1; /* utime, futime: atime; busy: sleep time */
+ eio_tstamp nv2; /* utime, futime: mtime */
int type; /* EIO_xxx constant */
int int1; /* all applicable requests: file descriptor; sendfile: output fd; open: flags */
@@ -145,7 +145,8 @@ eio_req *eio_nop (eio_cb cb); /* does nothing except go through the whole
/* for groups */
eio_req *eio_grp (eio_cb cb);
-void eio_grp_feed (eio_req *grp, int limit, void (*feed)(eio_req *req));
+void eio_grp_feed (eio_req *grp, void (*feed)(eio_req *req), int limit);
+void eio_grp_limit (eio_req *grp, int limit);
void eio_grp_add (eio_req *grp, eio_req *req);
void eio_grp_cancel (eio_req *grp); /* cancels all sub requests but not the group */