Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/bind9/dns
File: result.h
/*
[0] Fix | Delete
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
[1] Fix | Delete
*
[2] Fix | Delete
* This Source Code Form is subject to the terms of the Mozilla Public
[3] Fix | Delete
* License, v. 2.0. If a copy of the MPL was not distributed with this
[4] Fix | Delete
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
[5] Fix | Delete
*
[6] Fix | Delete
* See the COPYRIGHT file distributed with this work for additional
[7] Fix | Delete
* information regarding copyright ownership.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
#ifndef DNS_RESULT_H
[11] Fix | Delete
#define DNS_RESULT_H 1
[12] Fix | Delete
[13] Fix | Delete
/*! \file dns/result.h */
[14] Fix | Delete
[15] Fix | Delete
#include <isc/lang.h>
[16] Fix | Delete
#include <isc/resultclass.h>
[17] Fix | Delete
[18] Fix | Delete
#include <dns/types.h>
[19] Fix | Delete
[20] Fix | Delete
/*
[21] Fix | Delete
* Nothing in this file truly depends on <isc/result.h>, but the
[22] Fix | Delete
* DNS result codes are considered to be publicly derived from
[23] Fix | Delete
* the ISC result codes, so including this file buys you the ISC_R_
[24] Fix | Delete
* namespace too.
[25] Fix | Delete
*/
[26] Fix | Delete
#include <isc/result.h> /* Contractual promise. */
[27] Fix | Delete
[28] Fix | Delete
/*
[29] Fix | Delete
* DNS library result codes
[30] Fix | Delete
*/
[31] Fix | Delete
#define DNS_R_LABELTOOLONG (ISC_RESULTCLASS_DNS + 0)
[32] Fix | Delete
#define DNS_R_BADESCAPE (ISC_RESULTCLASS_DNS + 1)
[33] Fix | Delete
/*
[34] Fix | Delete
* Since we dropped the support of bitstring labels, deprecate the related
[35] Fix | Delete
* result codes too.
[36] Fix | Delete
[37] Fix | Delete
#define DNS_R_BADBITSTRING (ISC_RESULTCLASS_DNS + 2)
[38] Fix | Delete
#define DNS_R_BITSTRINGTOOLONG (ISC_RESULTCLASS_DNS + 3)
[39] Fix | Delete
*/
[40] Fix | Delete
#define DNS_R_EMPTYLABEL (ISC_RESULTCLASS_DNS + 4)
[41] Fix | Delete
#define DNS_R_BADDOTTEDQUAD (ISC_RESULTCLASS_DNS + 5)
[42] Fix | Delete
#define DNS_R_INVALIDNS (ISC_RESULTCLASS_DNS + 6)
[43] Fix | Delete
#define DNS_R_UNKNOWN (ISC_RESULTCLASS_DNS + 7)
[44] Fix | Delete
#define DNS_R_BADLABELTYPE (ISC_RESULTCLASS_DNS + 8)
[45] Fix | Delete
#define DNS_R_BADPOINTER (ISC_RESULTCLASS_DNS + 9)
[46] Fix | Delete
#define DNS_R_TOOMANYHOPS (ISC_RESULTCLASS_DNS + 10)
[47] Fix | Delete
#define DNS_R_DISALLOWED (ISC_RESULTCLASS_DNS + 11)
[48] Fix | Delete
#define DNS_R_EXTRATOKEN (ISC_RESULTCLASS_DNS + 12)
[49] Fix | Delete
#define DNS_R_EXTRADATA (ISC_RESULTCLASS_DNS + 13)
[50] Fix | Delete
#define DNS_R_TEXTTOOLONG (ISC_RESULTCLASS_DNS + 14)
[51] Fix | Delete
#define DNS_R_NOTZONETOP (ISC_RESULTCLASS_DNS + 15)
[52] Fix | Delete
#define DNS_R_SYNTAX (ISC_RESULTCLASS_DNS + 16)
[53] Fix | Delete
#define DNS_R_BADCKSUM (ISC_RESULTCLASS_DNS + 17)
[54] Fix | Delete
#define DNS_R_BADAAAA (ISC_RESULTCLASS_DNS + 18)
[55] Fix | Delete
#define DNS_R_NOOWNER (ISC_RESULTCLASS_DNS + 19)
[56] Fix | Delete
#define DNS_R_NOTTL (ISC_RESULTCLASS_DNS + 20)
[57] Fix | Delete
#define DNS_R_BADCLASS (ISC_RESULTCLASS_DNS + 21)
[58] Fix | Delete
#define DNS_R_NAMETOOLONG (ISC_RESULTCLASS_DNS + 22)
[59] Fix | Delete
#define DNS_R_PARTIALMATCH (ISC_RESULTCLASS_DNS + 23)
[60] Fix | Delete
#define DNS_R_NEWORIGIN (ISC_RESULTCLASS_DNS + 24)
[61] Fix | Delete
#define DNS_R_UNCHANGED (ISC_RESULTCLASS_DNS + 25)
[62] Fix | Delete
#define DNS_R_BADTTL (ISC_RESULTCLASS_DNS + 26)
[63] Fix | Delete
#define DNS_R_NOREDATA (ISC_RESULTCLASS_DNS + 27)
[64] Fix | Delete
#define DNS_R_CONTINUE (ISC_RESULTCLASS_DNS + 28)
[65] Fix | Delete
#define DNS_R_DELEGATION (ISC_RESULTCLASS_DNS + 29)
[66] Fix | Delete
#define DNS_R_GLUE (ISC_RESULTCLASS_DNS + 30)
[67] Fix | Delete
#define DNS_R_DNAME (ISC_RESULTCLASS_DNS + 31)
[68] Fix | Delete
#define DNS_R_CNAME (ISC_RESULTCLASS_DNS + 32)
[69] Fix | Delete
#define DNS_R_BADDB (ISC_RESULTCLASS_DNS + 33)
[70] Fix | Delete
#define DNS_R_ZONECUT (ISC_RESULTCLASS_DNS + 34)
[71] Fix | Delete
#define DNS_R_BADZONE (ISC_RESULTCLASS_DNS + 35)
[72] Fix | Delete
#define DNS_R_MOREDATA (ISC_RESULTCLASS_DNS + 36)
[73] Fix | Delete
#define DNS_R_UPTODATE (ISC_RESULTCLASS_DNS + 37)
[74] Fix | Delete
#define DNS_R_TSIGVERIFYFAILURE (ISC_RESULTCLASS_DNS + 38)
[75] Fix | Delete
#define DNS_R_TSIGERRORSET (ISC_RESULTCLASS_DNS + 39)
[76] Fix | Delete
#define DNS_R_SIGINVALID (ISC_RESULTCLASS_DNS + 40)
[77] Fix | Delete
#define DNS_R_SIGEXPIRED (ISC_RESULTCLASS_DNS + 41)
[78] Fix | Delete
#define DNS_R_SIGFUTURE (ISC_RESULTCLASS_DNS + 42)
[79] Fix | Delete
#define DNS_R_KEYUNAUTHORIZED (ISC_RESULTCLASS_DNS + 43)
[80] Fix | Delete
#define DNS_R_INVALIDTIME (ISC_RESULTCLASS_DNS + 44)
[81] Fix | Delete
#define DNS_R_EXPECTEDTSIG (ISC_RESULTCLASS_DNS + 45)
[82] Fix | Delete
#define DNS_R_UNEXPECTEDTSIG (ISC_RESULTCLASS_DNS + 46)
[83] Fix | Delete
#define DNS_R_INVALIDTKEY (ISC_RESULTCLASS_DNS + 47)
[84] Fix | Delete
#define DNS_R_HINT (ISC_RESULTCLASS_DNS + 48)
[85] Fix | Delete
#define DNS_R_DROP (ISC_RESULTCLASS_DNS + 49)
[86] Fix | Delete
#define DNS_R_NOTLOADED (ISC_RESULTCLASS_DNS + 50)
[87] Fix | Delete
#define DNS_R_NCACHENXDOMAIN (ISC_RESULTCLASS_DNS + 51)
[88] Fix | Delete
#define DNS_R_NCACHENXRRSET (ISC_RESULTCLASS_DNS + 52)
[89] Fix | Delete
#define DNS_R_WAIT (ISC_RESULTCLASS_DNS + 53)
[90] Fix | Delete
#define DNS_R_NOTVERIFIEDYET (ISC_RESULTCLASS_DNS + 54)
[91] Fix | Delete
#define DNS_R_NOIDENTITY (ISC_RESULTCLASS_DNS + 55)
[92] Fix | Delete
#define DNS_R_NOJOURNAL (ISC_RESULTCLASS_DNS + 56)
[93] Fix | Delete
#define DNS_R_ALIAS (ISC_RESULTCLASS_DNS + 57)
[94] Fix | Delete
#define DNS_R_USETCP (ISC_RESULTCLASS_DNS + 58)
[95] Fix | Delete
#define DNS_R_NOVALIDSIG (ISC_RESULTCLASS_DNS + 59)
[96] Fix | Delete
#define DNS_R_NOVALIDNSEC (ISC_RESULTCLASS_DNS + 60)
[97] Fix | Delete
#define DNS_R_NOTINSECURE (ISC_RESULTCLASS_DNS + 61)
[98] Fix | Delete
#define DNS_R_UNKNOWNSERVICE (ISC_RESULTCLASS_DNS + 62)
[99] Fix | Delete
#define DNS_R_RECOVERABLE (ISC_RESULTCLASS_DNS + 63)
[100] Fix | Delete
#define DNS_R_UNKNOWNOPT (ISC_RESULTCLASS_DNS + 64)
[101] Fix | Delete
#define DNS_R_UNEXPECTEDID (ISC_RESULTCLASS_DNS + 65)
[102] Fix | Delete
#define DNS_R_SEENINCLUDE (ISC_RESULTCLASS_DNS + 66)
[103] Fix | Delete
#define DNS_R_NOTEXACT (ISC_RESULTCLASS_DNS + 67)
[104] Fix | Delete
#define DNS_R_BLACKHOLED (ISC_RESULTCLASS_DNS + 68)
[105] Fix | Delete
#define DNS_R_BADALG (ISC_RESULTCLASS_DNS + 69)
[106] Fix | Delete
#define DNS_R_METATYPE (ISC_RESULTCLASS_DNS + 70)
[107] Fix | Delete
#define DNS_R_CNAMEANDOTHER (ISC_RESULTCLASS_DNS + 71)
[108] Fix | Delete
#define DNS_R_SINGLETON (ISC_RESULTCLASS_DNS + 72)
[109] Fix | Delete
#define DNS_R_HINTNXRRSET (ISC_RESULTCLASS_DNS + 73)
[110] Fix | Delete
#define DNS_R_NOMASTERFILE (ISC_RESULTCLASS_DNS + 74)
[111] Fix | Delete
#define DNS_R_UNKNOWNPROTO (ISC_RESULTCLASS_DNS + 75)
[112] Fix | Delete
#define DNS_R_CLOCKSKEW (ISC_RESULTCLASS_DNS + 76)
[113] Fix | Delete
#define DNS_R_BADIXFR (ISC_RESULTCLASS_DNS + 77)
[114] Fix | Delete
#define DNS_R_NOTAUTHORITATIVE (ISC_RESULTCLASS_DNS + 78)
[115] Fix | Delete
#define DNS_R_NOVALIDKEY (ISC_RESULTCLASS_DNS + 79)
[116] Fix | Delete
#define DNS_R_OBSOLETE (ISC_RESULTCLASS_DNS + 80)
[117] Fix | Delete
#define DNS_R_FROZEN (ISC_RESULTCLASS_DNS + 81)
[118] Fix | Delete
#define DNS_R_UNKNOWNFLAG (ISC_RESULTCLASS_DNS + 82)
[119] Fix | Delete
#define DNS_R_EXPECTEDRESPONSE (ISC_RESULTCLASS_DNS + 83)
[120] Fix | Delete
#define DNS_R_NOVALIDDS (ISC_RESULTCLASS_DNS + 84)
[121] Fix | Delete
#define DNS_R_NSISADDRESS (ISC_RESULTCLASS_DNS + 85)
[122] Fix | Delete
#define DNS_R_REMOTEFORMERR (ISC_RESULTCLASS_DNS + 86)
[123] Fix | Delete
#define DNS_R_TRUNCATEDTCP (ISC_RESULTCLASS_DNS + 87)
[124] Fix | Delete
#define DNS_R_LAME (ISC_RESULTCLASS_DNS + 88)
[125] Fix | Delete
#define DNS_R_UNEXPECTEDRCODE (ISC_RESULTCLASS_DNS + 89)
[126] Fix | Delete
#define DNS_R_UNEXPECTEDOPCODE (ISC_RESULTCLASS_DNS + 90)
[127] Fix | Delete
#define DNS_R_CHASEDSSERVERS (ISC_RESULTCLASS_DNS + 91)
[128] Fix | Delete
#define DNS_R_EMPTYNAME (ISC_RESULTCLASS_DNS + 92)
[129] Fix | Delete
#define DNS_R_EMPTYWILD (ISC_RESULTCLASS_DNS + 93)
[130] Fix | Delete
#define DNS_R_BADBITMAP (ISC_RESULTCLASS_DNS + 94)
[131] Fix | Delete
#define DNS_R_FROMWILDCARD (ISC_RESULTCLASS_DNS + 95)
[132] Fix | Delete
#define DNS_R_BADOWNERNAME (ISC_RESULTCLASS_DNS + 96)
[133] Fix | Delete
#define DNS_R_BADNAME (ISC_RESULTCLASS_DNS + 97)
[134] Fix | Delete
#define DNS_R_DYNAMIC (ISC_RESULTCLASS_DNS + 98)
[135] Fix | Delete
#define DNS_R_UNKNOWNCOMMAND (ISC_RESULTCLASS_DNS + 99)
[136] Fix | Delete
#define DNS_R_MUSTBESECURE (ISC_RESULTCLASS_DNS + 100)
[137] Fix | Delete
#define DNS_R_COVERINGNSEC (ISC_RESULTCLASS_DNS + 101)
[138] Fix | Delete
#define DNS_R_MXISADDRESS (ISC_RESULTCLASS_DNS + 102)
[139] Fix | Delete
#define DNS_R_DUPLICATE (ISC_RESULTCLASS_DNS + 103)
[140] Fix | Delete
#define DNS_R_INVALIDNSEC3 (ISC_RESULTCLASS_DNS + 104)
[141] Fix | Delete
#define DNS_R_NOTMASTER (ISC_RESULTCLASS_DNS + 105)
[142] Fix | Delete
#define DNS_R_BROKENCHAIN (ISC_RESULTCLASS_DNS + 106)
[143] Fix | Delete
#define DNS_R_EXPIRED (ISC_RESULTCLASS_DNS + 107)
[144] Fix | Delete
#define DNS_R_NOTDYNAMIC (ISC_RESULTCLASS_DNS + 108)
[145] Fix | Delete
#define DNS_R_BADEUI (ISC_RESULTCLASS_DNS + 109)
[146] Fix | Delete
#define DNS_R_NTACOVERED (ISC_RESULTCLASS_DNS + 110)
[147] Fix | Delete
#define DNS_R_BADCDS (ISC_RESULTCLASS_DNS + 111)
[148] Fix | Delete
#define DNS_R_BADCDNSKEY (ISC_RESULTCLASS_DNS + 112)
[149] Fix | Delete
#define DNS_R_OPTERR (ISC_RESULTCLASS_DNS + 113)
[150] Fix | Delete
#define DNS_R_BADDNSTAP (ISC_RESULTCLASS_DNS + 114)
[151] Fix | Delete
#define DNS_R_BADTSIG (ISC_RESULTCLASS_DNS + 115)
[152] Fix | Delete
#define DNS_R_BADSIG0 (ISC_RESULTCLASS_DNS + 116)
[153] Fix | Delete
#define DNS_R_TOOMANYRECORDS (ISC_RESULTCLASS_DNS + 117)
[154] Fix | Delete
#define DNS_R_VERIFYFAILURE (ISC_RESULTCLASS_DNS + 118)
[155] Fix | Delete
#define DNS_R_ATZONETOP (ISC_RESULTCLASS_DNS + 119)
[156] Fix | Delete
#define DNS_R_NOKEYMATCH (ISC_RESULTCLASS_DNS + 120)
[157] Fix | Delete
#define DNS_R_TOOMANYKEYS (ISC_RESULTCLASS_DNS + 121)
[158] Fix | Delete
#define DNS_R_KEYNOTACTIVE (ISC_RESULTCLASS_DNS + 122)
[159] Fix | Delete
#define DNS_R_NSEC3ITERRANGE (ISC_RESULTCLASS_DNS + 123)
[160] Fix | Delete
#define DNS_R_NSEC3SALTRANGE (ISC_RESULTCLASS_DNS + 124)
[161] Fix | Delete
#define DNS_R_NSEC3BADALG (ISC_RESULTCLASS_DNS + 125)
[162] Fix | Delete
#define DNS_R_NSEC3RESALT (ISC_RESULTCLASS_DNS + 126)
[163] Fix | Delete
[164] Fix | Delete
#define DNS_R_NRESULTS 127 /*%< Number of results */
[165] Fix | Delete
[166] Fix | Delete
[167] Fix | Delete
/*
[168] Fix | Delete
* DNS wire format rcodes.
[169] Fix | Delete
*
[170] Fix | Delete
* By making these their own class we can easily convert them into the
[171] Fix | Delete
* wire-format rcode value simply by masking off the resultclass.
[172] Fix | Delete
*/
[173] Fix | Delete
#define DNS_R_NOERROR (ISC_RESULTCLASS_DNSRCODE + 0)
[174] Fix | Delete
#define DNS_R_FORMERR (ISC_RESULTCLASS_DNSRCODE + 1)
[175] Fix | Delete
#define DNS_R_SERVFAIL (ISC_RESULTCLASS_DNSRCODE + 2)
[176] Fix | Delete
#define DNS_R_NXDOMAIN (ISC_RESULTCLASS_DNSRCODE + 3)
[177] Fix | Delete
#define DNS_R_NOTIMP (ISC_RESULTCLASS_DNSRCODE + 4)
[178] Fix | Delete
#define DNS_R_REFUSED (ISC_RESULTCLASS_DNSRCODE + 5)
[179] Fix | Delete
#define DNS_R_YXDOMAIN (ISC_RESULTCLASS_DNSRCODE + 6)
[180] Fix | Delete
#define DNS_R_YXRRSET (ISC_RESULTCLASS_DNSRCODE + 7)
[181] Fix | Delete
#define DNS_R_NXRRSET (ISC_RESULTCLASS_DNSRCODE + 8)
[182] Fix | Delete
#define DNS_R_NOTAUTH (ISC_RESULTCLASS_DNSRCODE + 9)
[183] Fix | Delete
#define DNS_R_NOTZONE (ISC_RESULTCLASS_DNSRCODE + 10)
[184] Fix | Delete
#define DNS_R_RCODE11 (ISC_RESULTCLASS_DNSRCODE + 11)
[185] Fix | Delete
#define DNS_R_RCODE12 (ISC_RESULTCLASS_DNSRCODE + 12)
[186] Fix | Delete
#define DNS_R_RCODE13 (ISC_RESULTCLASS_DNSRCODE + 13)
[187] Fix | Delete
#define DNS_R_RCODE14 (ISC_RESULTCLASS_DNSRCODE + 14)
[188] Fix | Delete
#define DNS_R_RCODE15 (ISC_RESULTCLASS_DNSRCODE + 15)
[189] Fix | Delete
#define DNS_R_BADVERS (ISC_RESULTCLASS_DNSRCODE + 16)
[190] Fix | Delete
[191] Fix | Delete
#define DNS_R_NRCODERESULTS 17 /*%< Number of rcode results */
[192] Fix | Delete
[193] Fix | Delete
#define DNS_RESULT_ISRCODE(result) \
[194] Fix | Delete
(ISC_RESULTCLASS_INCLASS(ISC_RESULTCLASS_DNSRCODE, (result)))
[195] Fix | Delete
[196] Fix | Delete
ISC_LANG_BEGINDECLS
[197] Fix | Delete
[198] Fix | Delete
const char *
[199] Fix | Delete
dns_result_totext(isc_result_t);
[200] Fix | Delete
[201] Fix | Delete
void
[202] Fix | Delete
dns_result_register(void);
[203] Fix | Delete
[204] Fix | Delete
dns_rcode_t
[205] Fix | Delete
dns_result_torcode(isc_result_t result);
[206] Fix | Delete
[207] Fix | Delete
ISC_LANG_ENDDECLS
[208] Fix | Delete
[209] Fix | Delete
#endif /* DNS_RESULT_H */
[210] Fix | Delete
[211] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function