From: Ted Lemon Date: Fri, 1 Oct 1999 03:21:53 +0000 (+0000) Subject: Add bad parse and no keys result codes. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3989a9e813159bb65d8cadec33b2a2678d1ef9d3;p=thirdparty%2Fdhcp.git Add bad parse and no keys result codes. --- diff --git a/includes/isc/result.h b/includes/isc/result.h index bd0f1282d..6c5899054 100644 --- a/includes/isc/result.h +++ b/includes/isc/result.h @@ -70,8 +70,10 @@ ISC_LANG_BEGINDECLS #define ISC_R_UNCHANGED 42 #define ISC_R_MULTIPLE 43 #define ISC_R_KEYCONFLICT 44 +#define ISC_R_BADPARSE 45 +#define ISC_R_NOKEYS 46 -#define ISC_R_NRESULTS 45 /* Number of results */ +#define ISC_R_NRESULTS 47 /* Number of results */ char * isc_result_totext(isc_result_t); isc_result_t isc_result_register(unsigned int base, diff --git a/omapip/result.c b/omapip/result.c index abf29f3a2..1d4e52a29 100644 --- a/omapip/result.c +++ b/omapip/result.c @@ -69,6 +69,8 @@ static char *text[ISC_R_NRESULTS] = { "object unchanged", /* 42 */ "more than one object matches key", /* 43 */ "key conflict", /* 44 */ + "parse error(s) occurred", /* 45 */ + "no key specified", /* 46 */ }; char *isc_result_totext (isc_result_t result)