[Tinyos-2-commits] CVS: tinyos-2.x/tos/interfaces ConfigStorage.nc, 1.1.2.2, 1.1.2.3

David Gay idgay at users.sourceforge.net
Wed May 31 07:37:42 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/interfaces
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24968

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	ConfigStorage.nc 
Log Message:
add command to check validity


Index: ConfigStorage.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/Attic/ConfigStorage.nc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** ConfigStorage.nc	30 May 2006 21:35:14 -0000	1.1.2.2
--- ConfigStorage.nc	31 May 2006 14:37:38 -0000	1.1.2.3
***************
*** 139,141 ****
--- 139,149 ----
     */
    command storage_len_t getSize();
+ 
+   /**
+    * Report whether this config volume contains valid data. Committing
+    * a volume makes it valid.
+    *
+    * @return TRUE if the volume contains valid data, FALSE otherwise.
+    */
+   command bool valid();
  }



More information about the Tinyos-2-commits mailing list