From f78d425970efe39d4015f987b41597d83c7718dd Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 28 Dec 2009 21:51:11 +0100 Subject: [PATCH] Add a struct buffer_tree pointer to struct receiver_node. --- recv.c | 2 ++ recv.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/recv.c b/recv.c index 9d6f0283..d2af6441 100644 --- a/recv.c +++ b/recv.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "para.h" #include "list.h" @@ -20,6 +21,7 @@ #include "string.h" #include "error.h" #include "stdout.h" +#include "buffer_tree.h" /** The gengetopt args info struct. */ static struct recv_args_info conf; diff --git a/recv.h b/recv.h index dc49ef95..101df824 100644 --- a/recv.h +++ b/recv.h @@ -24,6 +24,8 @@ struct receiver_node { void *conf; /** The task associated with this instance. */ struct task task; + /** The receiver node is always the root of the buffer tree. */ + struct btr_node *btr_root; }; /** -- 2.39.2