diff options
author | root <root> | 2008-05-13 18:50:27 +0000 |
---|---|---|
committer | root <root> | 2008-05-13 18:50:27 +0000 |
commit | 7372031e3bb023747eb262f4fa7d9f5aa95b471b (patch) | |
tree | 891a8e18f41777256d0f37a11cdffd34d2c305ba /eio.h | |
parent | f6c28d71ab172a33c0faf98503de8a66846d1ab4 (diff) |
*** empty log message ***
Diffstat (limited to 'eio.h')
-rw-r--r-- | eio.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -9,7 +9,7 @@ typedef struct eio_req eio_req; typedef int (*eio_cb)(eio_req *req); #ifndef EIO_COMMON -# define EIO_COMMON void *data +# define EIO_COMMON #endif #ifndef EIO_STRUCT_STAT @@ -57,13 +57,14 @@ struct eio_req int errorno; /* errno value on syscall return */ unsigned char flags; /* private */ - unsigned char pri; /* the priority */ + signed char pri; /* the priority */ + void *data; eio_cb finish; - void (*destroy)(eio_req *req); - void (*feed)(eio_req *req); + void (*destroy)(eio_req *req); /* called when requets no longer needed */ + void (*feed)(eio_req *req); /* only used for group requests */ - EIO_COMMON; + EIO_REQ_MEMBERS eio_req *grp, *grp_prev, *grp_next, *grp_first; /* private */ }; |