chiark / gitweb /
Include @<ctype.h>@.
[mLib] / sel.h
diff --git a/sel.h b/sel.h
index 391fe2969468010eccf5bba63fd5b37aa4b5326b..338ea20255f44688a4f5d2a2715a169c1f1f09c0 100644 (file)
--- a/sel.h
+++ b/sel.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sel.h,v 1.6 1999/08/31 17:42:22 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.
+ *
  * Revision 1.6  1999/08/31 17:42:22  mdw
  * New function `sel_force' to force a descriptor to be `selected'.
  *
@@ -52,8 +58,8 @@
  *
  */
 
-#ifndef SEL_H
-#define SEL_H
+#ifndef MLIB_SEL_H
+#define MLIB_SEL_H
 
 #ifdef __cplusplus
   extern "C" {
@@ -134,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 --- */
@@ -144,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 --- */