[Tinyos-2-commits] CVS: tinyos-2.x/tos/interfaces LogRead.nc,
1.1.2.4, 1.1.2.5 LogWrite.nc, 1.1.2.3, 1.1.2.4
David Gay
idgay at users.sourceforge.net
Wed May 31 07:57:27 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/tos/interfaces
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31972
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
LogRead.nc LogWrite.nc
Log Message:
update currentOffset
Index: LogRead.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/Attic/LogRead.nc,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** LogRead.nc 30 May 2006 21:35:14 -0000 1.1.2.4
--- LogRead.nc 31 May 2006 14:57:23 -0000 1.1.2.5
***************
*** 50,54 ****
interface LogRead {
-
/**
* Initiate a read operation from the current position within a given log
--- 50,53 ----
Index: LogWrite.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/Attic/LogWrite.nc,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** LogWrite.nc 23 May 2006 21:57:52 -0000 1.1.2.3
--- LogWrite.nc 31 May 2006 14:57:23 -0000 1.1.2.4
***************
*** 63,67 ****
event void appendDone(void* buf, storage_len_t len, error_t error);
! command uint32_t currentOffset();
/**
--- 63,75 ----
event void appendDone(void* buf, storage_len_t len, error_t error);
! /**
! * Return a "cookie" representing the current append offset within the
! * 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).
! *
! * @return Cookie representing current offset.
! */
! command storage_cookie_t currentOffset();
/**
***************
*** 96,99 ****
*/
event void syncDone(error_t error);
-
}
--- 104,106 ----
More information about the Tinyos-2-commits
mailing list