stdout.c: Add a flag to activate buffer tree API.
[paraslash.git] / stdout.h
index cca12e5f61e2538d99c766f350ee4ef002bce801..c3eb311d5bfd80885d0eac5302fabfa3b47dcb7d 100644 (file)
--- a/stdout.h
+++ b/stdout.h
@@ -20,6 +20,8 @@ struct stdout_task {
        struct task task;
        /** Whether \p STDOUT_FILENO was included in the write fd set. */
        int check_fd;
        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);
 };
 
 void stdout_set_defaults(struct stdout_task *sot);