Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New inaddr-str and in6addr-str functions. | Kaz Kylheku | 2020-07-24 | 1 | -0/+78 |
* 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. |