]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/lib/net/tosthread_collection.h
Change to get rid of statically allocating space in collection queue
[tinyos-2.x.git] / tos / lib / tosthreads / lib / net / tosthread_collection.h
index 62daa345975c2f3a9ee3d3a795f6d051536d0ae3..9941ac078e1ec8253aaeebb44f76c48f77918124 100644 (file)
 #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);