]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add bad parse and no keys result codes.
authorTed Lemon <source@isc.org>
Fri, 1 Oct 1999 03:21:53 +0000 (03:21 +0000)
committerTed Lemon <source@isc.org>
Fri, 1 Oct 1999 03:21:53 +0000 (03:21 +0000)
includes/isc/result.h
omapip/result.c

index bd0f1282d67d087b40dad92db3d51580ba051117..6c589905444b4b0a9e3e8ff23a5eb1cd5bdb80bb 100644 (file)
@@ -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,
index abf29f3a2544bab53830a0bbc02762abcc3f72d2..1d4e52a29d895902747b4a347979004537eff2c1 100644 (file)
@@ -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)