From: Andre Noll Date: Mon, 28 Dec 2009 20:51:11 +0000 (+0100) Subject: Add a struct buffer_tree pointer to struct receiver_node. X-Git-Tag: v0.4.2~255 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=f78d425970efe39d4015f987b41597d83c7718dd;p=paraslash.git Add a struct buffer_tree pointer to struct receiver_node. --- 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; }; /**