Commit 5dee0470 authored by Bob Halley's avatar Bob Halley
Browse files

new codes

parent 72c5d65b
/*
* Copyright (C) 1998 Internet Software Consortium.
* Copyright (C) 1998, 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
......@@ -32,8 +32,11 @@ typedef unsigned int dns_result_t;
#define DNS_R_UNEXPECTEDEND 9
#define DNS_R_NOTIMPLEMENTED 10
#define DNS_R_UNKNOWN 11
#define DNS_R_BADLABELTYPE 12
#define DNS_R_BADPOINTER 13
#define DNS_R_TOOMANYHOPS 14
#define DNS_R_LASTENTRY 11 /* Last entry on list. */
#define DNS_R_LASTENTRY 14 /* Last entry on list. */
#define DNS_R_UNEXPECTED 0xFFFFFFFFL
......
/*
* Copyright (C) 1998 Internet Software Consortium.
* Copyright (C) 1998, 1999 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
......@@ -32,6 +32,9 @@ static char *text_table[DNS_R_LASTENTRY + 1] = {
"unexpected end of input", /* 9 */
"not implemented", /* 10 */
"unknown class/type", /* 11 */
"bad label type", /* 12 */
"bad compression pointer", /* 13 */
"too many hops", /* 14 */
};
char *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment