aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/io.h
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-09 14:13:57 -0500
committerBrian Cully <bjc@kublai.com>2012-02-09 14:13:57 -0500
commit8cd5a7f161743d6b6a995b92b1702909809b8cdc (patch)
tree5a12ddc4b5f0f5a8d70d126cbdc52451e55bdac9 /c_src/io.h
parenta5424fc5ebde59b8335e99a062e208a80235977f (diff)
downloadmysqlerl-8cd5a7f161743d6b6a995b92b1702909809b8cdc.tar.gz
mysqlerl-8cd5a7f161743d6b6a995b92b1702909809b8cdc.zip
Move C code into c_src
Diffstat (limited to 'c_src/io.h')
-rw-r--r--c_src/io.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/c_src/io.h b/c_src/io.h
new file mode 100644
index 0000000..bf4e086
--- /dev/null
+++ b/c_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