]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/dhv/DhvVersionC.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / lib / net / dhv / DhvVersionC.nc
diff --git a/tos/lib/net/dhv/DhvVersionC.nc b/tos/lib/net/dhv/DhvVersionC.nc
new file mode 100755 (executable)
index 0000000..7b7f320
--- /dev/null
@@ -0,0 +1,29 @@
+/**
+ * DHV Vector Message Configuration
+ *
+ * Define interfaces and components.
+ *
+ * @author Thanh Dang
+ * @author Seungweon Park
+ *
+ * @modified 1/3/2009   Added meaningful documentation.
+ * @modified 8/28/2008  Defined DHV modules.
+ * @modified 8/28/2008  Took the source code from DIP.
+ **/
+
+#include <Dhv.h>
+
+configuration DhvVersionC {
+  provides interface DhvHelp;
+  provides interface DisseminationUpdate<dhv_data_t>[dhv_key_t key];
+       provides interface DhvCache as DataCache;
+       provides interface DhvCache as VectorCache; 
+}
+
+implementation {
+  components DhvVersionP;
+  DhvHelp = DhvVersionP;
+  DisseminationUpdate = DhvVersionP;
+       DataCache = DhvVersionP.DhvDataCache;
+       VectorCache = DhvVersionP.DhvVectorCache;
+}