Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added the `htpipe' program.
[ashd.git]
/
lib
/
mtio.h
diff --git
a/lib/mtio.h
b/lib/mtio.h
index
f6611df
..
ffb57da
100644
(file)
--- a/
lib/mtio.h
+++ b/
lib/mtio.h
@@
-10,8
+10,14
@@
struct stdiofd {
int fd;
int sock;
int timeout;
+ int rights, sendrights;
};
+struct selected {
+ int fd, ev;
+};
+
+struct selected mblock(time_t to, int n, struct selected *spec);
int block(int fd, int ev, time_t to);
int ioloop(void);
void exitioloop(int status);