Moved htparser's ioloop to the library.
[ashd.git] / lib / mtio.h
diff --git a/lib/mtio.h b/lib/mtio.h
new file mode 100644 (file)
index 0000000..32bb0ad
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef _LIB_MTIO_H
+#define _LIB_MTIO_H
+
+#define EV_READ 1
+#define EV_WRITE 2
+
+int block(int fd, int ev, time_t to);
+void ioloop(void);
+
+#endif