added new result code ISC_R_IGNORE, to be used

by the interface iterator internals to indicate that an
interface is to be ignored.  Previously ISC_R_FAILURE was
used for this purpose.
This commit is contained in:
Andreas Gustafsson
2000-02-07 18:35:37 +00:00
parent 8561310bf9
commit 3a2487c9e3
2 changed files with 3 additions and 1 deletions

View File

@@ -61,8 +61,9 @@ ISC_LANG_BEGINDECLS
#define ISC_R_QUOTA 33
#define ISC_R_UNEXPECTED 34
#define ISC_R_ALREADYRUNNING 35
#define ISC_R_IGNORE 36
#define ISC_R_NRESULTS 36 /* Number of results */
#define ISC_R_NRESULTS 37 /* Number of results */
char * isc_result_totext(isc_result_t);
isc_result_t isc_result_register(unsigned int base,

View File

@@ -76,6 +76,7 @@ static char *text[ISC_R_NRESULTS] = {
"quota reached", /* 33 */
"unexpected error", /* 34 */
"already running", /* 35 */
"ignore" /* 36 */
};
#define ISC_RESULT_RESULTSET 2