gui: Output "xxx tag not set" for unset tags rather than empty strings.
[paraslash.git] / stdout.h
1 /*
2 * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
3 *
4 * Licensed under the GPL v2. For licencing details see COPYING.
5 */
6
7 /** \file stdout.h The standard out task structure. */
8
9 /**
10 * The task structure used for writing to stdout.
11 */
12 struct stdout_task {
13 /** Pointer to the data buffer pointer. */
14 char **bufp;
15 /** Number of bytes loaded in \a buf. */
16 size_t *loaded;
17 /** Pointer to the error variable of the feeding task. */
18 int *input_error;
19 /** The task structure. */
20 struct task task;
21 /** Whether \p STDOUT_FILENO was included in the write fd set. */
22 int check_fd;
23 };
24
25 void stdout_set_defaults(struct stdout_task *sot);