2 * Copyright (C) 2006-2014 Andre Noll <maan@tuebingen.mpg.de>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file stdout.h Writing to stdout via buffer trees. */
10 * The task structure used for writing to stdout.
12 * This is used by para_recv, para_filter and para_client.
15 /** The task structure used by the scheduler. */
17 /** Stdout is always a leaf node in the buffer tree. */
18 struct btr_node *btrn;
19 /** The descriptor flags of STDOUT at startup. */
21 /** Whether we have to set STDOUT to nonblocking mode. */
22 bool must_set_nonblock_flag;
25 void stdout_task_register(struct stdout_task *sot, struct sched *s);