Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
lib/mtio.h
@@ -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