add logging of PC92A ip addresses
[spider.git] / src / sel.h
index dde95a42fd5374d1b2b595cb5cd2302e0a3a0fa5..5fb1d3c68b89bd208283c84a06f83029723a2327 100755 (executable)
--- a/src/sel.h
+++ b/src/sel.h
@@ -8,7 +8,13 @@
  * $Header$
  * 
  * $Log$
- * Revision 1.3  2000-07-20 14:16:00  minima
+ * Revision 1.5  2002-01-27 15:39:59  minima
+ * get rid of warning
+ *
+ * Revision 1.4  2002/01/27 15:35:33  minima
+ * try to fix EOF on standard input problems
+ *
+ * Revision 1.3  2000/07/20 14:16:00  minima
  * can use Sourceforge now!
  * added user->qra cleaning
  * added 4 digit qra to user broadcast dxspots if available
@@ -41,6 +47,7 @@ typedef struct {
        void *fcb;                                                 /* any fcb associated with this thing */
        reft *msgbase;                                     /* any messages for this port */
        int (*handler)();                                  /* the handler for this thingy */
+       void (*closehandler)();         /* special close handler */
 } sel_t;
 
 extern sel_t *sel;
@@ -58,6 +65,8 @@ extern struct timeval sel_tv;
 void sel_init(int, long, long);                                           /* initialise the select thing */
 void sel_run();                                                   /* run the select multiplexor */
 sel_t *sel_open(int, void *, char *, int (*)(), int, int);/*  initialise a slot */
+void sel_closehandler(sel_t *, void (*)());    /* post a closehandler for this cnum */
+
 void sel_close(sel_t *);
 int sel_error(sel_t *, int);              /* set/clear error flag */