summaryrefslogtreecommitdiffstats
path: root/tests/014/in6addr-str.tl
Commit message (Collapse)AuthorAgeFilesLines
* New inaddr-str and in6addr-str functions.Kaz Kylheku2020-07-241-0/+120
* lisplib.c (sock_set_entries): Register autoload entries for inaddr-str and in6addr-str. Register prefix symbol to be interned. * share/txr/stdlib/socket.tl (sockaddr-in, sockaddr-in6): Both structs get a new member, prefix, defaulting to the respective number of bits in the address. (inaddr-str, in6addr-str): New functions. * tests/014/iaddr-str, tests/014/inaddr-str.expected, tests/014/in6addr-str.tl, tests/014/in6addr-str.expected: New files * txr.1: Documented.