Merge branch 'maint'
[paraslash.git] / stdin.h
1 /*
2 * Copyright (C) 2006-2011 Andre Noll <maan@systemlinux.org>
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 };
18
19 void stdin_set_defaults(struct stdin_task *sit);