[Tinyos-2-commits] CVS: tinyos-2.x/tos/types TinyError.h,1.7,1.8

Phil Levis scipio at users.sourceforge.net
Tue May 20 14:46:24 PDT 2008


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

Modified Files:
	TinyError.h 
Log Message:
ENOMEM


Index: TinyError.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/types/TinyError.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** TinyError.h	27 Mar 2008 00:52:02 -0000	1.7
--- TinyError.h	20 May 2008 21:46:21 -0000	1.8
***************
*** 39,52 ****
  
  enum {
!   SUCCESS        = 0,          
!   FAIL           = 1,           // Generic condition: backwards compatible
!   ESIZE          = 2,           // Parameter passed in was too big.
!   ECANCEL        = 3,           // Operation cancelled by a call.
!   EOFF           = 4,           // Subsystem is not active
!   EBUSY          = 5,           // The underlying system is busy; retry later
!   EINVAL         = 6,           // An invalid parameter was passed
!   ERETRY         = 7,           // A rare and transient failure: can retry
!   ERESERVE       = 8,           // Reservation required before usage
!   EALREADY       = 9,           // The device state you are requesting is already set
  };
  
--- 39,54 ----
  
  enum {
!   SUCCESS        =  0,          
!   FAIL           =  1,           // Generic condition: backwards compatible
!   ESIZE          =  2,           // Parameter passed in was too big.
!   ECANCEL        =  3,           // Operation cancelled by a call.
!   EOFF           =  4,           // Subsystem is not active
!   EBUSY          =  5,           // The underlying system is busy; retry later
!   EINVAL         =  6,           // An invalid parameter was passed
!   ERETRY         =  7,           // A rare and transient failure: can retry
!   ERESERVE       =  8,           // Reservation required before usage
!   EALREADY       =  9,           // The device state you are requesting is already set
!   ENOMEM         = 10,           // Memory required not available
!   ELAST          = 10            // Last enum value
  };
  



More information about the Tinyos-2-commits mailing list