aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-09-22 17:37:40 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-09-22 17:37:40 +0000
commitf9f7f794a2a49b9a83ba255cdd0b15e7cc0e86cd (patch)
tree58cbcfa144204dc951e93f9d7cf04a1ebb069662 /fm.h
parentrerun aclocal & autoconf (diff)
downloadw3m-f9f7f794a2a49b9a83ba255cdd0b15e7cc0e86cd.tar.gz
w3m-f9f7f794a2a49b9a83ba255cdd0b15e7cc0e86cd.zip
[w3m-dev 03967] Re: IPv4/IPv6 only option patch
* NEWS: options: -4, -6 * fm.h (DNS_ORDER_INET_ONLY): added (DNS_ORDER_INET6_ONLY): added (ai_family_order_table): [3]->[7] * main.c (fusage): add -4/-6 (main): -4/-6 mapped to dns_order=4/dns_order=6 * rc.c (dnsorders): add DNS_ORDER_INET_ONLY, DNS_ORDER_INET6_ONLY * url.c (dnsorders): add 3-6 From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--fm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fm.h b/fm.h
index bd0acd0..b4505ff 100644
--- a/fm.h
+++ b/fm.h
@@ -1,4 +1,4 @@
-/* $Id: fm.h,v 1.118 2003/07/22 17:33:16 ukai Exp $ */
+/* $Id: fm.h,v 1.119 2003/09/22 17:37:41 ukai Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -824,8 +824,10 @@ global int NOproxy_netaddr init(TRUE);
#define DNS_ORDER_UNSPEC 0
#define DNS_ORDER_INET_INET6 1
#define DNS_ORDER_INET6_INET 2
+#define DNS_ORDER_INET_ONLY 4
+#define DNS_ORDER_INET6_ONLY 6
global int DNS_order init(DNS_ORDER_UNSPEC);
-extern int ai_family_order_table[3][3]; /* XXX */
+extern int ai_family_order_table[7][3]; /* XXX */
#endif /* INET6 */
global TextList *NO_proxy_domains;
global char NoCache init(FALSE);