2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

result types for database searches

This commit is contained in:
Bob Halley
1999-04-01 03:59:49 +00:00
parent 6d356e35c6
commit e7b724c23e
2 changed files with 17 additions and 1 deletions

View File

@@ -60,8 +60,16 @@ typedef unsigned int dns_result_t;
#define DNS_R_UNCHANGED 33
#define DNS_R_BADTTL 34
#define DNS_R_NOREDATA 35
#define DNS_R_CONTINUE 36
#define DNS_R_DELEGATION 37
#define DNS_R_GLUE 38
#define DNS_R_DNAME 39
#define DNS_R_CNAME 40
#define DNS_R_NXDOMAIN 41
#define DNS_R_NXRDATASET 42
#define DNS_R_BADDB 43
#define DNS_R_LASTENTRY 35 /* Last entry on list. */
#define DNS_R_LASTENTRY 43 /* Last entry on list. */
#define DNS_R_UNEXPECTED 0xFFFFFFFFL

View File

@@ -56,6 +56,14 @@ static char *text_table[DNS_R_LASTENTRY + 1] = {
"unchanged", /* 33 */
"bad ttl", /* 34 */
"more data needed/to be rendered", /* 35 */
"continue", /* 36 */
"delegation", /* 37 */
"glue", /* 38 */
"dname", /* 39 */
"cname", /* 40 */
"nxdomain", /* 41 */
"nxrdataset", /* 42 */
"bad database", /* 43 */
};
char *