result.h revision 87cafc5e70f79f2586d067fbdd64f61bbab069d2
ca41b452ede6feaa9d8739ec3cae19389a7b0d03Bob Halley * Copyright (C) 1998, 1999, 2000 Internet Software Consortium.
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * Permission to use, copy, modify, and distribute this software for any
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * purpose with or without fee is hereby granted, provided that the above
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * copyright notice and this permission notice appear in all copies.
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
1633838b8255282d10af15c5c84cee5a51466712Bob Halley * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
35921f41cfcbde6c5bdcb54abd3d5e0ed2256205Michael Graff#define ISC_R_NORESOURCES 13 /* not enough resources */
8321dd2150bea461fbe0333965ef072d576b4f6cMichael Graff#define ISC_R_NOTBOUND 21 /* socket is not bound */
0d3119d4d1394adf61f5ab69ef3573993cde6fe3Michael Graff#define ISC_R_SHUTTINGDOWN 22 /* shutting down */
af0fce400bfa79289aae239c10ae7f4fb2be8fa6Bob Halley#define ISC_R_UNEXPECTEDEND 24 /* unexpected end of input */
8321dd2150bea461fbe0333965ef072d576b4f6cMichael Graff#define ISC_R_NOTCONNECTED 40 /* socket is not connected */
c5c3b17a0a5668fadc604f16c1b9961bb6a0f249David Lawrence#define ISC_R_NRESULTS 42 /* Number of results */
0c33e418cb443ade8ed55f5433bc4d409c7af0b8David Lawrence * Convert an isc_result_t into a string message describing the result.
87cafc5e70f79f2586d067fbdd64f61bbab069d2David Lawrenceisc_result_register(unsigned int base, unsigned int nresults,
87cafc5e70f79f2586d067fbdd64f61bbab069d2David Lawrence const char **text, isc_msgcat_t *msgcat, int set);
fda0ab6a96a7edb1acbde0c77ead0542979b0f24Bob Halley#endif /* ISC_RESULT_H */