1 | /* |
1 | /* |
2 | iom.h -- I/O multiplexor |
2 | iom.h -- generic I/O multiplexor |
|
|
3 | Copyright (C) 2003 Marc Lehmann <pcg@goof.com> |
3 | |
4 | |
4 | This program is free software; you can redistribute it and/or modify |
5 | This program is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by |
6 | it under the terms of the GNU General Public License as published by |
6 | the Free Software Foundation; either version 2 of the License, or |
7 | the Free Software Foundation; either version 2 of the License, or |
7 | (at your option) any later version. |
8 | (at your option) any later version. |
… | |
… | |
21 | |
22 | |
22 | #include <vector> |
23 | #include <vector> |
23 | |
24 | |
24 | #include <cassert> |
25 | #include <cassert> |
25 | |
26 | |
26 | #include <sys/poll.h> |
27 | #include "poll.h" |
27 | |
28 | |
28 | #include "callback.h" |
29 | #include "callback.h" |
29 | #include "slog.h" |
30 | #include "slog.h" |
30 | |
31 | |
31 | typedef double tstamp; |
32 | typedef double tstamp; |