diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-02-29 06:30:53 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-02-29 06:30:53 -0800 |
commit | d50725ab1a9055fd3f0c83c90c9fb71bfd16c205 (patch) | |
tree | ccb0374b5d2d97685989f5bbb7f41da3a46ac7ef /lisplib.c | |
parent | 5ee9c14113a3ebcc4cf5488e243cb97babd8be93 (diff) | |
download | txr-d50725ab1a9055fd3f0c83c90c9fb71bfd16c205.tar.gz txr-d50725ab1a9055fd3f0c83c90c9fb71bfd16c205.tar.bz2 txr-d50725ab1a9055fd3f0c83c90c9fb71bfd16c205.zip |
IP address to string functions.
* lisplib.c (sock_set_entries): Add str-inaddr and str-in6addr
to list of autoload identifiers.
* share/txr/stdlib/socket.tl (str-inaddr, str-in6addr): New
functions.
Diffstat (limited to 'lisplib.c')
-rw-r--r-- | lisplib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -290,6 +290,7 @@ static val sock_set_entries(val dlt, val fun) lit("ai-passive"), lit("ai-canonname"), lit("ai-numerichost"), lit("ai-v4mapped"), lit("ai-all"), lit("ai-addrconfig"), lit("ai-numericserv"), + lit("str-inaddr"), lit("str-in6addr"), nil }; set_dlt_entries(dlt, name, fun); |