diff options
Diffstat (limited to 'chat/i2cb/patches/patch-ac')
-rw-r--r-- | chat/i2cb/patches/patch-ac | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/chat/i2cb/patches/patch-ac b/chat/i2cb/patches/patch-ac index 07041ab7bb4..aecca1dccb8 100644 --- a/chat/i2cb/patches/patch-ac +++ b/chat/i2cb/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $ +$NetBSD: patch-ac,v 1.2 2004/04/13 21:19:48 hubertf Exp $ --- src/externs.h.orig Wed Mar 15 23:28:13 2000 +++ src/externs.h @@ -13,3 +13,20 @@ $NetBSD: patch-ac,v 1.1.1.1 2002/11/14 00:55:44 hubertf Exp $ /* external definitions for "icb" global variables */ /* defined in port.c */ +@@ -25,6 +29,7 @@ extern char *mygroup; /* requested grou + extern char *myserver; /* server name */ + extern char *myhost; /* server host */ + extern int myport; /* server port */ ++extern char *mylhost; /* local address */ + extern char *mbuf; /* message buffer */ + extern char *mbuf2; /* message buffer */ + extern int connected; /* whether we are validated or not */ +@@ -69,7 +74,7 @@ void clearargs (int argc, char **argv); + int clientserve (void); + void closesessionlog (void); + void cmdoutmsg (char *pkt); +-int connecttoport (char *host_name, int port_number); ++int connecttoport (char *host_name, int port_number, char *lhost_name); + void copenmsg (char *pkt); + void cpersonalmsg (char *pkt); + void csendopen (char *txt); |