diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2011-09-03 14:05:23 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2011-09-03 14:05:23 +0200 |
commit | bdf45bc45637eefdbdee913465729f9d31d6c255 (patch) | |
tree | 9b6538c483ad6c2b38177068d5c5730397c9f292 /sched.h | |
parent | 14a4b00c9ef680b78469333291270e4c276f100d (diff) | |
download | screen-upstream/3.9.5.tar.gz |
Imported Upstream version 3.9.5upstream/3.9.5
Diffstat (limited to 'sched.h')
-rw-r--r-- | sched.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ + +struct event +{ + struct event *next; + void (*handler) __P((struct event *, char *)); + char *data; + int fd; + int type; + int pri; + struct timeval timeout; + int queued; /* in evs queue */ + int active; /* in fdset */ + int *condpos; /* only active if condpos - condneg > 0 */ + int *condneg; +}; + +#define EV_TIMEOUT 0 +#define EV_READ 1 +#define EV_WRITE 2 +#define EV_ALWAYS 3 |