[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r3218 - in /trunk/libc: ChangeLog.eglibc inet/Makefile option-groups.def option-groups.defaults
- To: commits@xxxxxxxxxx
- Subject: [commits] r3218 - in /trunk/libc: ChangeLog.eglibc inet/Makefile option-groups.def option-groups.defaults
- From: jimb@xxxxxxxxxx
- Date: Tue, 21 Aug 2007 05:05:56 -0000
Author: jimb
Date: Mon Aug 20 22:05:55 2007
New Revision: 3218
Log:
Implement the OPTION_EGLIBC_ADVANCED_INET6 option group.
* option-groups.def (OPTION_EGLIBC_ADVANCED_INET6): New entry.
* option-groups.defaults (OPTION_EGLIBC_ADVANCED_INET6): Initialize.
* inet/Makefile (routines): Put inet6_option, inet6_opt, and
inet6_rth in the group.
(tests): Put test-inet6_opt in the option group.
Modified:
trunk/libc/ChangeLog.eglibc
trunk/libc/inet/Makefile
trunk/libc/option-groups.def
trunk/libc/option-groups.defaults
Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Mon Aug 20 22:05:55 2007
@@ -1,5 +1,12 @@
2007-08-20 Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
+ Implement the OPTION_EGLIBC_ADVANCED_INET6 option group.
+ * option-groups.def (OPTION_EGLIBC_ADVANCED_INET6): New entry.
+ * option-groups.defaults (OPTION_EGLIBC_ADVANCED_INET6): Initialize.
+ * inet/Makefile (routines): Put inet6_option, inet6_opt, and
+ inet6_rth in the group.
+ (tests): Put test-inet6_opt in the option group.
+
* option-groups.def: Add Emacs local variables section to use
'config' commands as page boundaries.
Modified: trunk/libc/inet/Makefile
==============================================================================
--- trunk/libc/inet/Makefile (original)
+++ trunk/libc/inet/Makefile Mon Aug 20 22:05:55 2007
@@ -47,16 +47,19 @@
ether_ntoa ether_ntoa_r ether_ntoh \
getnetgrent_r getnetgrent \
getaliasent_r getaliasent getaliasname getaliasname_r \
- in6_addr getnameinfo if_index ifaddrs inet6_option \
+ in6_addr getnameinfo if_index ifaddrs \
getipv4sourcefilter setipv4sourcefilter \
- getsourcefilter setsourcefilter inet6_opt inet6_rth
+ getsourcefilter setsourcefilter
routines-$(OPTION_EGLIBC_RCMD) \
+= rcmd rexec ruserpass
+routines-$(OPTION_EGLIBC_ADVANCED_INET6) \
+ += inet6_option inet6_opt inet6_rth
aux-$(OPTION_EGLIBC_INET) += check_pf ifreq
tests := htontest test_ifindex tst-ntoa tst-ether_aton tst-network \
- tst-gethnm test-ifaddrs bug-if1 test-inet6_opt
+ tst-gethnm test-ifaddrs bug-if1
+tests-$(OPTION_EGLIBC_ADVANCED_INET6) += test-inet6_opt
include ../Rules
Modified: trunk/libc/option-groups.def
==============================================================================
--- trunk/libc/option-groups.def (original)
+++ trunk/libc/option-groups.def Mon Aug 20 22:05:55 2007
@@ -40,6 +40,36 @@
#
# although this simply reestablishes the value already set by
# 'option-groups.defaults'.
+
+config OPTION_EGLIBC_ADVANCED_INET6
+ bool "IPv6 Advanced Sockets API support (RFC3542)"
+ depends OPTION_EGLIBC_INET
+ help
+ This option group includes the functions specified by RFC 3542,
+ "Advanced Sockets Application Program Interface (API) for
+ IPv6".
+
+ This option group includes the following functions:
+
+ inet6_opt_append
+ inet6_opt_find
+ inet6_opt_finish
+ inet6_opt_get_val
+ inet6_opt_init
+ inet6_option_alloc
+ inet6_option_append
+ inet6_option_find
+ inet6_option_init
+ inet6_option_next
+ inet6_option_space
+ inet6_opt_next
+ inet6_opt_set_val
+ inet6_rth_add
+ inet6_rth_getaddr
+ inet6_rth_init
+ inet6_rth_reverse
+ inet6_rth_segments
+ inet6_rth_space
config OPTION_EGLIBC_CATGETS
bool "Functions for accessing message catalogs"
Modified: trunk/libc/option-groups.defaults
==============================================================================
--- trunk/libc/option-groups.defaults (original)
+++ trunk/libc/option-groups.defaults Mon Aug 20 22:05:55 2007
@@ -8,6 +8,7 @@
# are to be changed.
#
# By default, all option groups are enabled.
+OPTION_EGLIBC_ADVANCED_INET6 = y
OPTION_EGLIBC_CATGETS = y
OPTION_EGLIBC_CHARSETS = y
OPTION_EGLIBC_ENVZ = y