From 7372031e3bb023747eb262f4fa7d9f5aa95b471b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 May 2008 18:50:27 +0000 Subject: *** empty log message *** --- eio.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/eio.h b/eio.h index 61133da..c168f0d 100644 --- a/eio.h +++ b/eio.h @@ -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 */ }; -- cgit v1.2.3