1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ab,v 1.2 2005/04/13 16:36:07 salo Exp $
--- sockets.h.orig 2005-04-13 12:13:23.000000000 -0400
+++ sockets.h 2005-04-13 12:06:34.000000000 -0400
@@ -118,10 +118,10 @@
/* DNS functions */
-int DnsIp(char *host,char *ip);
-int DnsFQDN(char *host,char *fqdn);
-int DnsName(char *ip,char *fqdn);
-void GetPeerIp(int sock,char *ip,char *fqdn);
+int DnsIp(char *host,char *ip,size_t);
+int DnsFQDN(char *host,char *fqdn,size_t);
+int DnsName(char *ip,char *fqdn,size_t);
+void GetPeerIp(int sock,char *ip,size_t,char *fqdn,size_t);
/* Special Functions */
|