aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.h
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-06 20:15:48 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2012-02-06 20:15:48 -0500
commit10b824963ff7b0b012e6b85c8b3f07904c473fd1 (patch)
tree344e00f788ea24c273f841636bdf92f354b40e2c /src/io.h
parent591169f86718117151bf9eb5960ba58e2a27a5bb (diff)
downloadmysqlerl-10b824963ff7b0b012e6b85c8b3f07904c473fd1.tar.gz
mysqlerl-10b824963ff7b0b012e6b85c8b3f07904c473fd1.zip
Remove stupid lib directory
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h
new file mode 100644
index 0000000..bf4e086
--- /dev/null
+++ b/src/io.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2008, Brian Cully <bjc@kublai.com>
+ */
+
+#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