Allow synonyms for localhost
[spider.git] / src / sel.h
index 5fd3f3eed15baad2ed3f8b0dda56c7fb1d6ba208..5fb1d3c68b89bd208283c84a06f83029723a2327 100755 (executable)
--- a/src/sel.h
+++ b/src/sel.h
@@ -8,7 +8,18 @@
  * $Header$
  * 
  * $Log$
- * Revision 1.2  2000-03-26 14:22:59  djk
+ * 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
+ *
+ * Revision 1.2  2000/03/26 14:22:59  djk
  * removed some irrelevant log info
  *
  * Revision 1.1  2000/03/26 00:03:30  djk
@@ -36,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;
@@ -53,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 */