buffer_tree: Add code to splice out a node of the buffer tree.
[paraslash.git] / recv.h
diff --git a/recv.h b/recv.h
index b82e04f..fc617a3 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 *btrn;
 };
 
 /**
@@ -131,5 +133,6 @@ extern struct receiver receivers[];
 /** Iterate over all available receivers. */
 #define FOR_EACH_RECEIVER(i) for (i = 0; receivers[i].name; i++)
 
+void recv_init(void);
 void *check_receiver_arg(char *ra, int *receiver_num);
 void print_receiver_helps(int detailed);