result.c revision 04b8111f2137a9cf9b0b71228f76b3e40ffa1173
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * Copyright (C) 1998, 1999 Internet Software Consortium.
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * Permission to use, copy, modify, and distribute this software for any
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * purpose with or without fee is hereby granted, provided that the above
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * copyright notice and this permission notice appear in all copies.
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
68a8db1efb0cd13e0e3d59362ab9db1a4a8bc496Andreas Gustafsson * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 "disallowed (by application policy)", /* 11 */
f620c5e527746a2ec3d90a11d21abd8a114746dfTatuya JINMEI 神明達哉 "more data needed/to be rendered", /* 27 */
initialize_action(void) {
initialize(void) {
initialize();
dns_result_register(void) {
initialize();
switch (result) {
case ISC_R_NOSPACE:
case ISC_R_UNEXPECTEDEND:
case ISC_R_BADBASE64:
case DNS_R_LABELTOOLONG:
case DNS_R_BADBITSTRING:
case DNS_R_BITSTRINGTOOLONG:
case DNS_R_UNEXPECTEDEND:
case DNS_R_UNKNOWN:
case DNS_R_BADLABELTYPE:
case DNS_R_BADPOINTER:
case DNS_R_TOOMANYHOPS:
case DNS_R_EXTRADATA:
case DNS_R_TEXTTOOLONG:
case DNS_R_RANGE:
case DNS_R_SYNTAX:
case DNS_R_BADCKSUM:
case DNS_R_BADAAAA:
case DNS_R_BADCLASS:
case DNS_R_BADTTL:
case DNS_R_NOREDATA:
case DNS_R_BADZONE:
case DNS_R_TSIGERRORSET:
case DNS_R_DISALLOWED:
case DNS_R_TSIGVERIFYFAILURE:
return (rcode);