[Tinyos-2-commits] CVS: tinyos-2.x/tos/interfaces LogRead.nc, 1.1.2.6, 1.1.2.7 LogWrite.nc, 1.1.2.5, 1.1.2.6

David Gay idgay at users.sourceforge.net
Thu Jun 1 15:08:50 PDT 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	LogRead.nc LogWrite.nc 
Log Message:
update. no mount.


Index: LogRead.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/Attic/LogRead.nc,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** LogRead.nc	31 May 2006 23:34:14 -0000	1.1.2.6
--- LogRead.nc	1 Jun 2006 22:08:48 -0000	1.1.2.7
***************
*** 59,63 ****
     * @return 
     *   <li>SUCCESS if the request was accepted, 
-    *   <li>EOFF if the volume has not been mounted
     *   <li>EBUSY if a request is already being processed.
     */
--- 59,62 ----
***************
*** 80,84 ****
     * log. This cookie can be used in a subsequent seek operation to
     * return to the same place in the log (if it hasn't been overwritten).
-    * The result is undefined if the log has not been mounted.
     *
     * @return Cookie representing current offset. 
--- 79,82 ----
***************
*** 89,94 ****
     *   </ul>
     *   Note that <code>SEEK_BEGINNING</code> can also be returned at
!    *   other times (just after erasing a log, just after mounting a
!    *   log volume, etc).
     */
    command storage_cookie_t currentOffset();
--- 87,91 ----
     *   </ul>
     *   Note that <code>SEEK_BEGINNING</code> can also be returned at
!    *   other times (just after erasing a log, etc).
     */
    command storage_cookie_t currentOffset();
***************
*** 104,108 ****
     * @return 
     *   <li>SUCCESS if the request was accepted, 
-    *   <li>EOFF if the volume has not been mounted
     *   <li>EBUSY if a request is already being processed.
     */
--- 101,104 ----
***************
*** 122,127 ****
     * Report approximate log capacity in bytes. Note that use of
     * <code>sync</code>, failures and general overhead may reduce the number
!    * of bytes available to the log. The result is undefined if the log has
!    * not been mounted.
     *
     * @return Volume size.
--- 118,122 ----
     * Report approximate log capacity in bytes. Note that use of
     * <code>sync</code>, failures and general overhead may reduce the number
!    * of bytes available to the log. 
     *
     * @return Volume size.

Index: LogWrite.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/Attic/LogWrite.nc,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -d -r1.1.2.5 -r1.1.2.6
*** LogWrite.nc	31 May 2006 23:34:14 -0000	1.1.2.5
--- LogWrite.nc	1 Jun 2006 22:08:48 -0000	1.1.2.6
***************
*** 41,45 ****
  
  interface LogWrite {
-   
    /**
     * Append data to a given volume. On SUCCESS, the <code>appendDone</code> 
--- 41,44 ----
***************
*** 50,54 ****
     * @return 
     *   <li>SUCCESS if the request was accepted, 
!    *   <li>EOFF if the volume has not been mounted
     *   <li>EBUSY if a request is already being processed.
     */
--- 49,53 ----
     * @return 
     *   <li>SUCCESS if the request was accepted, 
!    *   <li>EINVAL if the request is invalid (len too large).
     *   <li>EBUSY if a request is already being processed.
     */
***************
*** 71,76 ****
     * log. This cookie can be used in a subsequent seek operation (see
     * <code>LogRead</code> to start reading from this place in the log (if
!    * it hasn't been overwritten). The result is undefined if the log has
!    * not been mounted.
     *
     * @return Cookie representing current offset. 
--- 70,77 ----
     * log. This cookie can be used in a subsequent seek operation (see
     * <code>LogRead</code> to start reading from this place in the log (if
!    * it hasn't been overwritten).
!    *
!    * The current write position is not known before the first read, append,
!    * seek, erase or sync.
     *
     * @return Cookie representing current offset. 
***************
*** 85,89 ****
     * @return 
     *   <li>SUCCESS if the request was accepted, 
-    *   <li>EOFF if the volume has not been mounted
     *   <li>EBUSY if a request is already being processed.
     */
--- 86,89 ----
***************
*** 104,108 ****
     * @return 
     *   <li>SUCCESS if the request was accepted, 
-    *   <li>EOFF if the volume has not been mounted
     *   <li>EBUSY if a request is already being processed.
     */
--- 104,107 ----



More information about the Tinyos-2-commits mailing list