#ifndef TOSTHREAD_COLLECTION_H
#define TOSTHREAD_COLLECTION_H
-#include "message.h"
-#include "AM.h"
-#include "TinyError.h"
+#include "ccollection.h"
+
+extern error_t collectionRoutingStart();
+extern error_t collectionRoutingStop();
extern error_t collectionReceive(message_t* m, uint32_t timeout, collection_id_t id);
extern error_t collectionSnoop(message_t* m, uint32_t timeout, collection_id_t id);