ia64/xen-unstable

view tools/xfrd/select.h @ 3498:1d24a5b0b338

bitkeeper revision 1.1159.223.25 (41f2cb9aEKMZkZbvqBE0eXhpljlV4Q)

Description: fix path to python
There is no python2 in debian. Instead, use python.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
author iap10@labyrinth.cl.cam.ac.uk
date Sat Jan 22 21:54:34 2005 +0000 (2005-01-22)
parents 0e23f01219c6
children
line source
1 #ifndef _XFRD_SELECT_H_
2 #define _XFRD_SELECT_H_
4 /** Set of file descriptors for select.
5 */
6 typedef struct SelectSet {
7 int n;
8 fd_set rd, wr, er;
9 } SelectSet;
11 extern void SelectSet_zero(SelectSet *set);
12 extern void SelectSet_add_read(SelectSet *set, int fd);
13 extern void SelectSet_add_write(SelectSet *set, int fd);
14 extern int SelectSet_select(SelectSet *set, struct timeval *timeout);
16 #endif /* ! _XFRD_SELECT_H_ */