mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
Merged in i2k's networking code
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@155 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2b026b6d0f
commit
cc01075295
@ -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
|
||||
{
|
||||
|
24
src/common.h
24
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user