X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/5feb52afba684ae49cc96f66fd62fc190c251b92..efa99d05b9c747f4fe5adea9c57cacf513b5cc1a:/conn.h?ds=inline diff --git a/conn.h b/conn.h index e70595c..58a96a8 100644 --- 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 * @@ -30,6 +30,12 @@ /*----- 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 #include -#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;