more result codes

This commit is contained in:
john30
2014-11-23 20:23:43 +01:00
parent 59700b0084
commit 4141f8e091
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -41,6 +41,8 @@ static const int RESULT_ERR_ESC = -9; // invalid escape sequence receiv
static const int RESULT_ERR_INVALID_ARG = -10; // invalid argument
static const int RESULT_ERR_DEVICE = -11; // generic device error (usually fatal)
static const int RESULT_ERR_EOF = -12; // end of input reached
static const int RESULT_ERR_FILENOTFOUND = -13;// file not found or not readable
static const int RESULT_ERR_DUPLICATE = -14; // duplicate entry
/** type for result code. */
typedef int result_t;