aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/io.h
diff options
context:
space:
mode:
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