aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.h
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-03-02 11:44:52 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-03-02 11:44:52 -0500
commit4c31a79f1f76b6d80fffd05180dadcbb5a882293 (patch)
tree4452bb96e63748f0db3074f4f7f65bb8c19ed644 /src/io.h
parent26858b9722eb539cdb6fa762cb15071cfe753f45 (diff)
downloadmysqlerl-4c31a79f1f76b6d80fffd05180dadcbb5a882293.tar.gz
mysqlerl-4c31a79f1f76b6d80fffd05180dadcbb5a882293.zip
Move logger/io routines to separate modules.
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h
new file mode 100644
index 0000000..0db889b
--- /dev/null
+++ b/src/io.h
@@ -0,0 +1,9 @@
+#ifndef _IO_H
+#define _IO_H
+
+#include <sys/types.h>
+
+int restartable_read(unsigned char *buf, size_t buflen);
+int restartable_write(const unsigned char *buf, size_t buflen);
+
+#endif