server: Pass Information field from async I/O APCs.
diff --git a/server/protocol.def b/server/protocol.def
index cf3ffa1..dfb5d48 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -287,7 +287,7 @@
struct
{
enum apc_type type; /* APC_ASYNC_IO */
- unsigned int (*func)(void*, void*, unsigned int);
+ unsigned int (*func)(void*, void*, unsigned int, unsigned long *);
void *user; /* user pointer */
void *sb; /* status block */
unsigned int status; /* I/O status */
@@ -372,6 +372,7 @@
{
enum apc_type type; /* APC_ASYNC_IO */
unsigned int status; /* new status of async operation */
+ unsigned long total; /* bytes transferred */
} async_io;
struct
{