btr: Make it kind of work for http recv + stdout.
[paraslash.git] / stdout.h
index c3eb311d5bfd80885d0eac5302fabfa3b47dcb7d..fee9800cbbe28a2a195ab62ec4f1bfa244dddac3 100644 (file)
--- a/stdout.h
+++ b/stdout.h
@@ -20,8 +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;
+       /** Non-null if buffer tree API should be used. */
+       struct btr_node *btrn;
 };
 
 void stdout_set_defaults(struct stdout_task *sot);