summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-03-18 19:46:12 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-03-18 19:46:12 +0000
commitcc01075295e1501e9465e6b79d562d3008b814c9 (patch)
tree51cc87270f8f16cb384060db783276e520504b8f /src
parent2b026b6d0f67bab8eb722d5e290b130b6cd385e8 (diff)
downloadirssi-cc01075295e1501e9465e6b79d562d3008b814c9.zip
Merged in i2k's networking code
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@155 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/common-setup.h3
-rw-r--r--src/common.h24
2 files changed, 1 insertions, 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 <fcntl.h>
-#ifdef HAVE_SOCKS_H
-#include <socks.h>
-#endif
-
-#include <netdb.h>
-#include <sys/socket.h>
-#include <signal.h>
-#include <sys/signal.h>
-#include <sys/param.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-
#include <glib.h>
#include <gmodule.h>
-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
{