Two new result types, "already exists" and "not found".
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 *
|
||||
|
||||
Reference in New Issue
Block a user