Add BIND 9.2.4rc7.
[dragonfly.git] / contrib / bind-9.2.4rc7 / lib / isccc / include / isccc / result.h
blobc695bb05c67b34cc45f700e5fb7816b246ba56ab
1 /*
2 * Portions Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
3 * Portions Copyright (C) 2001, 2003 Internet Software Consortium.
4 * Portions Copyright (C) 2001 Nominum, Inc.
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
10 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NOMINUM DISCLAIMS ALL
11 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
12 * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY
13 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 /* $Id: result.h,v 1.3.2.3 2004/03/09 06:12:28 marka Exp $ */
21 #ifndef ISCCC_RESULT_H
22 #define ISCCC_RESULT_H 1
24 #include <isc/lang.h>
25 #include <isc/resultclass.h>
26 #include <isc/result.h>
28 #include <isccc/types.h>
30 #define ISCCC_R_UNKNOWNVERSION (ISC_RESULTCLASS_ISCCC + 0)
31 #define ISCCC_R_SYNTAX (ISC_RESULTCLASS_ISCCC + 1)
32 #define ISCCC_R_BADAUTH (ISC_RESULTCLASS_ISCCC + 2)
33 #define ISCCC_R_EXPIRED (ISC_RESULTCLASS_ISCCC + 3)
34 #define ISCCC_R_CLOCKSKEW (ISC_RESULTCLASS_ISCCC + 4)
35 #define ISCCC_R_DUPLICATE (ISC_RESULTCLASS_ISCCC + 5)
37 #define ISCCC_R_NRESULTS 6 /* Number of results */
39 ISC_LANG_BEGINDECLS
41 const char *
42 isccc_result_totext(isc_result_t result);
44 * Convert a isccc_result_t into a string message describing the result.
47 void
48 isccc_result_register(void);
50 ISC_LANG_ENDDECLS
52 #endif /* ISCCC_RESULT_H */