/* -*-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
*
/*----- 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.
*
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 --- */
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 --- */