Two new result types, "already exists" and "not found".

This commit is contained in:
David Lawrence
1999-01-25 15:41:22 +00:00
parent 1c31915286
commit 10c05796f2
2 changed files with 5 additions and 1 deletions

View File

@@ -41,8 +41,10 @@ typedef unsigned int dns_result_t;
#define DNS_R_EXTRADATA 18
#define DNS_R_TEXTTOLONG 19
#define DNS_R_RANGE 20
#define DNS_R_EXISTS 21
#define DNS_R_NOTFOUND 22
#define DNS_R_LASTENTRY 20 /* Last entry on list. */
#define DNS_R_LASTENTRY 22 /* Last entry on list. */
#define DNS_R_UNEXPECTED 0xFFFFFFFFL

View File

@@ -41,6 +41,8 @@ static char *text_table[DNS_R_LASTENTRY + 1] = {
"extra input data", /* 18 */
"text too long", /* 19 */
"out of range", /* 20 */
"already exists", /* 21 */
"not found", /* 22 */
};
char *