fix dccp sender/receiver
[paraslash.git] / stdout.h
1 /** \file stdout.h common code for uitlities that write to stdout */
2 struct stdout_task {
3 char *buf;
4 size_t *bufsize;
5 size_t *loaded;
6 int *input_eof;
7 int eof;
8 struct task task;
9 int check_fd;
10 };
11
12 void stdout_pre_select(struct sched *s, struct task *t);
13 void stdout_post_select(struct sched *s, struct task *t);
14 void stdout_set_defaults(struct stdout_task *sot);