projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
822966b
)
Add a struct buffer_tree pointer to struct receiver_node.
author
Andre Noll
<maan@systemlinux.org>
Mon, 28 Dec 2009 20:51:11 +0000
(21:51 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 28 Dec 2009 20:51:11 +0000
(21:51 +0100)
recv.c
patch
|
blob
|
history
recv.h
patch
|
blob
|
history
diff --git
a/recv.c
b/recv.c
index 9d6f028319fc6e1e8f36f7406fc64475fb3576df..d2af64418ec12a623dd78ca717cec2a832e3eb87 100644
(file)
--- a/
recv.c
+++ b/
recv.c
@@
-9,6
+9,7
@@
#include <regex.h>
#include <sys/types.h>
#include <dirent.h>
+#include <stdbool.h>
#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 dc49ef956e69779f518ad235c6c25e76b1761498..101df82418b9897e33ae44fc31242a3743790175 100644
(file)
--- 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;
};
/**