From 06950aab233de6a2f47293d59575bb42f6131660 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 27 Jan 2021 22:06:49 +0100 Subject: Complete rewrite using C++ and with shared state support --- src/io.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/io.hh (limited to 'src/io.hh') diff --git a/src/io.hh b/src/io.hh new file mode 100644 index 0000000..8786549 --- /dev/null +++ b/src/io.hh @@ -0,0 +1,13 @@ +#ifndef IO_HH +#define IO_HH + +#include + +namespace io { + +bool read_all(int fd, std::string* out); +bool write_all(int fd, std::string const& in); + +} // namespace io + +#endif // IO_HH -- cgit v1.2.3-70-g09d2