Commit 52c8a5fb authored by Niels Möller's avatar Niels Möller
Browse files

* src/io.h (io_listen): Take a sockaddr * rather than a

sockaddr_in *.

Rev: src/io.h:1.55
parent 69acffa3
......@@ -292,11 +292,27 @@ io_connect(struct io_backend *b,
struct command_continuation *c,
struct exception_handler *e);
struct lsh_fd *
io_listen(struct io_backend *b,
struct sockaddr *local,
socklen_t length,
struct io_callback *callback,
struct exception_handler *e);
#if 0
struct lsh_fd *
io_listen(struct io_backend *b,
struct sockaddr_in *local,
struct io_callback *callback,
struct exception_handler *e);
#endif
struct lsh_fd *
io_listen_local(struct io_backend *b,
struct lsh_string *directory,
struct lsh_string *name,
struct io_callback *callback,
struct exception_handler *e);
struct io_callback *
make_listen_callback(struct io_backend *backend,
......
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