X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/5d45633f9e20472a4081e506aca854ce69bb6c7b..0a2a19b4356ad08c670a00fee4ee72b08cfe328c:/sel.h diff --git a/sel.h b/sel.h index 9749a7a..338ea20 100644 --- a/sel.h +++ b/sel.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: sel.h,v 1.7 1999/12/10 23:42:04 mdw Exp $ + * $Id: sel.h,v 1.8 2001/06/22 19:35:58 mdw Exp $ * * I/O multiplexing support * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: sel.h,v $ + * Revision 1.8 2001/06/22 19:35:58 mdw + * Fix a large number of bugs. + * * Revision 1.7 1999/12/10 23:42:04 mdw * Change header file guard names. * @@ -137,6 +140,7 @@ typedef struct sel_file { unsigned mode; /* Interesting event for file */ void (*func)(int /*fd*/, unsigned /*mode*/, void */*p*/); /* Handler */ void *p; /* Argument for the handler */ + struct sel_pendfile *pend; /* Pending file information */ } sel_file; /* --- Waiting for a timeout --- */ @@ -147,6 +151,7 @@ typedef struct sel_timer { struct timeval tv; /* Real time when timer should go */ void (*func)(struct timeval */*tv*/, void */*p*/); /* Handler function */ void *p; /* Argument for the handler */ + struct sel_pendtimer *pend; /* Pending timer information */ } sel_timer; /* --- A select argument block --- */