aboutsummaryrefslogtreecommitdiffstats
path: root/resolv.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@itojun.org>1999-10-15 03:11:52 +0000
committerJun-ichiro itojun Hagino <itojun@itojun.org>1999-10-15 03:11:52 +0000
commit76d3e189fed83ec5a26373a1e7801a59e5faa111 (patch)
treecee763b5ca93729f52e94ca04b8ffa47d61b325f /resolv.h
parent46420eee1839bcd066ad2335356af939745bebcc (diff)
add prototype for get_host_ipaddr6().
svn path=/trunk/; revision=835
Diffstat (limited to 'resolv.h')
-rw-r--r--resolv.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/resolv.h b/resolv.h
index cb72d2cefa..dffa493276 100644
--- a/resolv.h
+++ b/resolv.h
@@ -1,7 +1,7 @@
/* resolv.h
* Definitions for network object lookup
*
- * $Id: resolv.h,v 1.7 1999/10/11 03:03:12 guy Exp $
+ * $Id: resolv.h,v 1.8 1999/10/15 03:11:52 itojun Exp $
*
* Laurent Deniel <deniel@worldnet.fr>
*
@@ -76,4 +76,11 @@ extern void add_host_name(u_int addr, u_char *name);
* FALSE if it fails. */
gboolean get_host_ipaddr(const char *host, guint32 *addrp);
+/*
+ * Translate IPv6 numeric address or FQDN hostname, into binary IPv6 address.
+ * Return TRUE if we succeed and set "*addrp" to that numeric IP address;
+ * return FALSE if we fail.
+ */
+gboolean get_host_ipaddr6(const char *host, struct e_in6_addr *addrp);
+
#endif /* __RESOLV_H__ */