From cc01075295e1501e9465e6b79d562d3008b814c9 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 18 Mar 2000 19:46:12 +0000 Subject: [PATCH] Merged in i2k's networking code git-svn-id: http://svn.irssi.org/repos/irssi/trunk@155 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/common-setup.h | 3 --- src/common.h | 24 +----------------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/src/common-setup.h b/src/common-setup.h index 8c9a7be0..097f814a 100644 --- a/src/common-setup.h +++ b/src/common-setup.h @@ -50,9 +50,6 @@ IRCNET_REC; extern GList *setupservers; /* list of local servers */ extern GList *ircnets; /* list of available ircnets */ -extern IPADDR source_host_ip; /* Resolved address */ -extern gboolean source_host_ok; /* Use source_host_ip .. */ - /* channels */ typedef struct { diff --git a/src/common.h b/src/common.h index 282bc5f0..47c56e92 100644 --- a/src/common.h +++ b/src/common.h @@ -40,35 +40,13 @@ #endif #include -#ifdef HAVE_SOCKS_H -#include -#endif - -#include -#include -#include -#include -#include -#include -#include - #include #include -typedef struct -{ - gushort family; -#ifdef HAVE_IPV6 - struct in6_addr addr; -#else - struct in_addr addr; -#endif -} -IPADDR; - #include "irc-base/memdebug.h" #include "lib-config/irssi-config.h" #include "common-setup.h" +#include "nls.h" typedef enum {