]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/lib/net/tosthread_collection.h
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / lib / tosthreads / lib / net / tosthread_collection.h
index 62daa345975c2f3a9ee3d3a795f6d051536d0ae3..b3967c4e02cc99e9a042c408aaab36a5fe67f909 100644 (file)
 
 /**
  * @author Kevin Klues <klueska@cs.stanford.edu>
+ * @author Chieh-Jan Mike Liang <cliang4@cs.jhu.edu>
  */
  
 #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 collectionSetCollectionId(uint8_t clientid, collection_id_t collectionid);
 
 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);