result.h revision 1bb3831e13a65afd87078c88e0285d23b1e0bcdf
d7201de09b85929a86b157f4b2d91667c68c6b52Automatic Updater * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * Copyright (C) 1998-2001, 2003 Internet Software Consortium.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater * Permission to use, copy, modify, and/or 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.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * PERFORMANCE OF THIS SOFTWARE.
1bb3831e13a65afd87078c88e0285d23b1e0bcdfMark Andrews/* $Id: result.h,v 1.74 2012/01/27 01:21:41 marka Exp $ */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOTHREADS 3 /*%< no available threads */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_ADDRNOTAVAIL 4 /*%< address not available */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOCONN 7 /*%< no pending connections */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NETUNREACH 8 /*%< network unreachable */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_HOSTUNREACH 9 /*%< host unreachable */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_CONNREFUSED 12 /*%< connection refused */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NORESOURCES 13 /*%< not enough free resources */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_BOUND 15 /*%< socket already bound */
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉#define ISC_R_SUSPEND ISC_R_RELOAD /*%< alias of 'reload' */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOSPACE 19 /*%< ran out of space */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_CANCELED 20 /*%< operation canceled */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOTBOUND 21 /*%< socket is not bound */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_SHUTTINGDOWN 22 /*%< shutting down */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_UNEXPECTEDEND 24 /*%< unexpected end of input */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOTIMPLEMENTED 27 /*%< not implemented */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_UNBALANCED 28 /*%< unbalanced parentheses */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_INVALIDFILE 30 /*%< invalid file */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_BADBASE64 31 /*%< bad base64 encoding */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_UNEXPECTEDTOKEN 32 /*%< unexpected token */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_UNEXPECTED 34 /*%< unexpected error */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_ALREADYRUNNING 35 /*%< already running */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_MASKNONCONTIG 37 /*%< addr mask not contiguous */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_FILENOTFOUND 38 /*%< file not found */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_FILEEXISTS 39 /*%< file already exists */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOTCONNECTED 40 /*%< socket is not connected */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOENTROPY 42 /*%< out of entropy */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_MULTICAST 43 /*%< invalid use of multicast */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOTDIRECTORY 45 /*%< not a directory */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_FAMILYMISMATCH 47 /*%< address family mismatch */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_FAMILYNOSUPPORT 48 /*%< AF not supported */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_TOOMANYOPENFILES 50 /*%< too many open files */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_NOTBLOCKING 51 /*%< not blocking */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_UNBALANCEDQUOTES 52 /*%< unbalanced quotes */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_INPROGRESS 53 /*%< operation in progress */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_CONNECTIONRESET 54 /*%< connection reset */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_SOFTQUOTA 55 /*%< soft quota reached */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_BADNUMBER 56 /*%< not a valid number */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#define ISC_R_BADADDRESSFORM 59 /*%< invalid address format */
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews#define ISC_R_BADBASE32 60 /*%< bad base32 encoding */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein/*% Not a result code: the 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 */