#include <regex.h>
#include <sys/types.h>
#include <dirent.h>
+#include <stdbool.h>
#include "para.h"
#include "list.h"
#include "string.h"
#include "error.h"
#include "stdout.h"
+#include "buffer_tree.h"
/** The gengetopt args info struct. */
static struct recv_args_info conf;
goto out;
r_opened = 1;
+ if (conf.buffer_tree_given)
+ sot.btrn = btr_new_node("stdout", rn.btrn, NULL, NULL);
+
stdout_set_defaults(&sot);
sot.bufp = &rn.buf;
sot.loaded = &rn.loaded;