Revamp status item handling.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 3a601ed1003e3ce6b55719406e6e236802ae7e46..a06baf212f6ddad43fe326a9bf9e0aac44058d17 100644 (file)
--- a/error.h
+++ b/error.h
@@ -238,6 +238,7 @@ extern const char **para_errlist[];
 #define STAT_ERRORS \
        PARA_ERROR(TOO_MANY_CLIENTS, "maximal number of stat clients exceeded"), \
        PARA_ERROR(UNKNOWN_STAT_ITEM, "status item not recognized"), \
+       PARA_ERROR(STAT_ITEM_PARSE, "failed to parse status item"), \
 
 
 #define OGGDEC_FILTER_ERRORS \
@@ -276,6 +277,7 @@ extern const char **para_errlist[];
        PARA_ERROR(STRTOLL, "unknown strtoll error"), \
        PARA_ERROR(ATOI_NO_DIGITS, "no digits found in string"), \
        PARA_ERROR(ATOI_JUNK_AT_END, "further characters after number"), \
+       PARA_ERROR(SIZE_PREFIX, "bad size prefix") \
 
 
 #define EXEC_ERRORS \