Commit 704b4cc8 authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

New variable local in listen_value.

make_listen_value takes an extra struct address_info*.
(fd2info): declaration of new function.

Rev: src/io.h:1.89
parent 39ad3150
......@@ -182,12 +182,14 @@ make_local_info(struct lsh_string *directory,
(name listen_value)
(vars
(fd object lsh_fd)
(peer object address_info)))
(peer object address_info)
(local object address_info)))
*/
struct listen_value *
make_listen_value(struct lsh_fd *fd,
struct address_info *peer);
struct address_info *peer,
struct address_info *local);
/* I/O exceptions */
/* GABA:
......@@ -252,6 +254,9 @@ struct address_info *
make_address_info(struct lsh_string *host,
UINT32 port);
struct address_info *
fd2info(struct lsh_fd *fd, int side);
struct address_info *
sockaddr2info(size_t addr_len,
struct sockaddr *addr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment