diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-13 19:05:49 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-13 19:05:49 -0700 |
commit | aa48ae0df546d78602962096b3b9578fae47b645 (patch) | |
tree | d946e05ed4ebe69b931ffbb7ce53984ef114a63f /struct.h | |
parent | d94af272503d246929556087ae687d0fa8170611 (diff) | |
download | txr-aa48ae0df546d78602962096b3b9578fae47b645.tar.gz txr-aa48ae0df546d78602962096b3b9578fae47b645.tar.bz2 txr-aa48ae0df546d78602962096b3b9578fae47b645.zip |
Adding family slot to socket addresses.
A static slot indicating the address family simplifies
code which wants to map a socket address to its
family.
* lisplib.c (sock_instantiate): Call sock_load_init
before loading socket.tl rather than after, because socket.tl
now references variables defined inside sock_load_init.
* share/txr/stdlib/socket.tl (sockaddr, sockaddr-in,
sockaddr-in6, sockaddr-un): New static slot, family.
* txr.1: Documented family slots.
Diffstat (limited to 'struct.h')
0 files changed, 0 insertions, 0 deletions