From: <dg...@us...> - 2003-05-14 21:35:43
|
Update of /cvsroot/okernel/nrtl In directory sc8-pr-cvs1:/tmp/cvs-serv17588 Modified Files: nrtl.h Log Message: Just for pive to look at :-) Index: nrtl.h =================================================================== RCS file: /cvsroot/okernel/nrtl/nrtl.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** nrtl.h 14 May 2003 21:20:59 -0000 1.5 --- nrtl.h 14 May 2003 21:35:39 -0000 1.6 *************** *** 258,261 **** --- 258,265 ---- NetBuffer(size_t asize = 0); + size_t size() const { return buf?buf->len:0; } + size_t bytesRead() const { return readCounter; } + size_t bytesWritten() const { return writeCounter; } + private: InternalBuffer *buf; |