X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=stdout.h;h=c3eb311d5bfd80885d0eac5302fabfa3b47dcb7d;hp=4149dad39155a1ed569bbd11a4d51f6bfa5337df;hb=dd2c3baf99ebebaf269e2825a2598a20529a4224;hpb=00e4d4da1b2c00da139b09d3ed4ab9ad9fba2691 diff --git a/stdout.h b/stdout.h index 4149dad3..c3eb311d 100644 --- a/stdout.h +++ b/stdout.h @@ -10,8 +10,8 @@ * The task structure used for writing to stdout. */ struct stdout_task { - /** Pointer to the data buffer. */ - char *buf; + /** Pointer to the data buffer pointer. */ + char **bufp; /** Number of bytes loaded in \a buf. */ size_t *loaded; /** Pointer to the error variable of the feeding task. */ @@ -20,6 +20,8 @@ struct stdout_task { struct task task; /** Whether \p STDOUT_FILENO was included in the write fd set. */ int check_fd; + /** Whether to use the buffer tree API. */ + bool use_buffer_tree; }; void stdout_set_defaults(struct stdout_task *sot);