Commit 3921af09 authored by Niels Möller's avatar Niels Möller
Browse files

Prototypes for io_read and io_write.

Rev: src/io.h:1.13
parent cab953fd
......@@ -143,4 +143,15 @@ struct abstract_write *io_read_write(struct io_backend *b,
UINT32 block_size,
struct close_callback *close_callback);
struct io_fd *io_read(struct io_backend *b,
int fd,
struct read_handler *read_callback,
struct close_callback *close_callback);
struct io_fd *io_write(struct io_backend *b,
int fd,
UINT32 block_size,
struct close_callback *close_callback);
#endif /* LSH_IO_H_INCLUDED */
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