add new codes

This commit is contained in:
Bob Halley
1998-12-30 20:17:41 +00:00
parent dad8d67ed0
commit af0fce400b
2 changed files with 10 additions and 4 deletions

View File

@@ -39,12 +39,15 @@ typedef unsigned int isc_result_t;
#define ISC_R_TASKSHUTDOWN 16 /* task was shut down */
#define ISC_R_LOCKBUSY 17
#define ISC_R_EXISTS 18
#define ISC_R_TOOSMALL 19 /* buffer is too small */
#define ISC_R_NOSPACE 19 /* ran out of space */
#define ISC_R_CANCELED 20
#define ISC_R_TASKNOSEND 21
#define ISC_R_TASKSHUTTINGDOWN 22 /* task is shutting down */
#define ISC_R_NOTFOUND 23
#define ISC_R_LASTENTRY 23 /* last entry in the list */
#define ISC_R_UNEXPECTEDEND 24 /* unexpected end of input */
#define ISC_R_FAILURE 25 /* generic failure */
#define ISC_R_IOERROR 26
#define ISC_R_LASTENTRY 26 /* last entry in the list */
#define ISC_R_UNEXPECTED 0xFFFFFFFFL

View File

@@ -39,11 +39,14 @@ static char *text_table[ISC_R_LASTENTRY + 1] = {
"task is shut down", /* 16 */
"lock busy", /* 17 */
"already exists", /* 18 */
"buffer too small", /* 19 */
"ran out of space", /* 19 */
"operation canceled", /* 20 */
"sending events is not allowed", /* 21 */
"task is shutting down", /* 22 */
"Not found", /* 23 */
"not found", /* 23 */
"unexpected end of input", /* 24 */
"failure", /* 25 */
"I/O error", /* 26 */
};
char *