diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 11:46:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 11:46:19 +0000 |
commit | 4488e477136ea3daa60a744bac272cc37a604136 (patch) | |
tree | 49ec2884832cea192feb6a667f9ec8d352c14199 /include | |
parent | 4789b3f6536ef8267c79c7cb3ee6678546c2150b (diff) |
The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if this works yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/dns.h | 3 | ||||
-rw-r--r-- | include/socket.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/dns.h b/include/dns.h index 9b477e98f..5417d3c61 100644 --- a/include/dns.h +++ b/include/dns.h @@ -59,16 +59,13 @@ private: int myfd; void dns_init_2(const char* dnsserver); insp_inaddr *dns_aton4(const char * const ipstring); - char *dns_ntoa4(const insp_inaddr * const ip); int dns_getip4(const char * const name); int dns_getip4list(const char * const name); int dns_getname4(const insp_inaddr * const ip); char *dns_getresult(const int fd); insp_inaddr *dns_aton4_s(const char * const ipstring, insp_inaddr * const ip); - char *dns_ntoa4_s(const insp_inaddr * const ip, char * const result); char *dns_getresult_s(const int fd, char * const result); insp_inaddr *dns_aton4_r(const char * const ipstring); - char *dns_ntoa4_r(const insp_inaddr * const ip); char *dns_getresult_r(const int fd); public: /** The default constructor uses dns addresses read from /etc/resolv.conf. diff --git a/include/socket.h b/include/socket.h index 01005305b..254d23f46 100644 --- a/include/socket.h +++ b/include/socket.h @@ -47,6 +47,9 @@ typedef struct in_addr insp_inaddr; #endif +const char* insp_ntoa(insp_inaddr n); +int insp_aton(const char* a, insp_inaddr* n); + int OpenTCPSocket(); bool BindSocket(int sockfd, insp_sockaddr client, insp_sockaddr server, int port, char* addr); int BindPorts(bool bail); |