(ipv6_net_to_num, scm_from_ipv6): Renamed
authorMarius Vollmer <mvo@zagadka.de>
Sat, 10 Jul 2004 14:34:59 +0000 (14:34 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Sat, 10 Jul 2004 14:34:59 +0000 (14:34 +0000)
commit7cee5b315a702049ba869150eb3d1658d38030d0
tree309e94e6f178dd6d0d34baa526f854ae91f5fc19
parent5efd3c7d68a7ebf11b53bc47c799e28a5639c0e7
(ipv6_net_to_num, scm_from_ipv6): Renamed
ipv6_net_to_num to scm_from_ipv6, for converting from an IPv&
byte-wise address to a SCM integer.  Changed all uses.
(ipv6_num_to_net, scm_to_ipv6): Renamed ipv6_num_to_net to
scm_to_ipv6 and added type and range checking, for converting from
an IPv& byte-wise address to a SCM integer.  Changed all uses.
(bignum_in_ipv6_range_p, VALIDATE_INET6): Removed, their function
is now done by scm_to_ipv6.

* validate.h, deprecated.h (SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY,
SCM_VALIDATE_BIGINT, SCM_VALIDATE_INUM_MIN,
SCM_VALIDATE_INUM_MIN_COPY,
SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
SCM_VALIDATE_INUM_RANGE_COPY): Deprecated because they make the
fixnum/bignum distinction visible.  Changed all uses to scm_to_size_t
or similar.
libguile/socket.c