gui: Trivial whitespace and spelling fixes.
[paraslash.git] / stdin.h
1 /*
2  * Copyright (C) 2006 Andre Noll <maan@tuebingen.mpg.de>
3  *
4  * Licensed under the GPL v2. For licencing details see COPYING.
5  */
6
7 /** \file stdin.h The standard in task structure. */
8
9 /** The task structure used for reading from stdin. */
10 struct stdin_task {
11         /** The task structure. */
12         struct task *task;
13         /** Stdin is always the root of a buffer tree. */
14         struct btr_node *btrn;
15         /** Use a buffer pool to minimize memcpy due to alignment problems. */
16         struct btr_pool *btrp;
17         /** The descriptor flags of STDIN at startup. */
18         int fd_flags;
19         /** Whether we have to set STDIN to nonblocking mode. */
20         bool must_set_nonblock_flag;
21 };
22
23 void stdin_task_register(struct stdin_task *sit, struct sched *s);