chiark / gitweb /
New macros @DA_FIRST@ and @DA_LAST@ for stack/queue peeking.
[mLib] / conn.h
diff --git a/conn.h b/conn.h
index e70595c388b1d3c16357dcc790c2438c4d60bc88..58a96a8e185315ef6009f08b38fac632948bb674 100644 (file)
--- a/conn.h
+++ b/conn.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: conn.h,v 1.3 1999/05/23 12:12:46 mdw Exp $
+ * $Id: conn.h,v 1.5 1999/12/10 23:42:04 mdw Exp $
  *
  * Nonblocking connect handling
  *
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: conn.h,v $
+ * Revision 1.5  1999/12/10 23:42:04  mdw
+ * Change header file guard names.
+ *
+ * Revision 1.4  1999/05/26 21:08:01  mdw
+ * Remove redundant structure member.
+ *
  * Revision 1.3  1999/05/23 12:12:46  mdw
  * Interface change to make the `conn' selector useful for generic stream
  * sockets rather than just IPv4 ones.
@@ -42,8 +48,8 @@
  *
  */
 
-#ifndef CONN_H
-#define CONN_H
+#ifndef MLIB_CONN_H
+#define MLIB_CONN_H
 
 #ifdef __cplusplus
   extern "C" {
@@ -54,7 +60,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 
-#ifndef SEL_H
+#ifndef MLIB_SEL_H
 #  include "sel.h"
 #endif
 
@@ -65,7 +71,6 @@
 typedef struct conn {
   sel_file writer;                     /* Select listener */
   void (*func)(int /*fd*/, void */*p*/); /* Handler function */
-  int dsz;                             /* Size of destination address */
   void *p;                             /* Argument for handler function */
 } conn;