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:
@@ -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
|
||||
|
||||
|
@@ -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 *
|
||||
|
Reference in New Issue
Block a user