[Lapetus-cvs] lapetus lapetus.h,1.5,1.6
Status: Inactive
Brought to you by:
cyberwarriorx
From: Theo B. <cyb...@us...> - 2007-03-01 23:17:48
|
Update of /cvsroot/lapetus/lapetus In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15670 Modified Files: lapetus.h Log Message: -Added three new error types. Also added descriptions beside all the error types Index: lapetus.h =================================================================== RCS file: /cvsroot/lapetus/lapetus/lapetus.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- lapetus.h 27 Feb 2007 23:36:09 -0000 1.5 +++ lapetus.h 1 Mar 2007 23:17:45 -0000 1.6 @@ -35,11 +35,14 @@ void InitLapetus(int res); -#define LAPETUS_ERR_OK 0 -#define LAPETUS_ERR_COMM -1 -#define LAPETUS_ERR_HWNOTFOUND -2 -#define LAPETUS_ERR_SIZE -3 -#define LAPETUS_ERR_INVALIDPOINTER -4 -#define LAPETUS_ERR_INVALIDARG -5 +#define LAPETUS_ERR_OK 0 // Everything is good +#define LAPETUS_ERR_COMM -1 // Communication error +#define LAPETUS_ERR_HWNOTFOUND -2 // Hardware not found +#define LAPETUS_ERR_SIZE -3 // Invalid size specified +#define LAPETUS_ERR_INVALIDPOINTER -4 // Invalid pointer passed +#define LAPETUS_ERR_INVALIDARG -5 // Invalid argument passed +#define LAPETUS_ERR_BUSY -6 // Hardware is busy +#define LAPETUS_ERR_UNKNOWN -7 // Unknown error +#define LAPETUS_ERR_AUTH -8 // Disc authentication error #endif |