X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=507f9e24e7700b62701bb8b489b49a329e4fddf0;hp=7d2424cf3a626e27be056af432300be0911b76b9;hb=55030e0d1a28ded2076d62fb9aac3539ff337275;hpb=2c679eeb8bbc93220f85403eca6e9380dc624a6a diff --git a/error.h b/error.h index 7d2424cf..507f9e24 100644 --- a/error.h +++ b/error.h @@ -153,7 +153,7 @@ extern const char **para_errlist[]; PARA_ERROR(BAD_TABLE_NAME, "invalid table"), \ PARA_ERROR(INPUT_TOO_LARGE, "input too large for stdin command"), \ PARA_ERROR(READ, "read error"), \ - PARA_ERROR(ATOL, "failed to convert to long"), \ + PARA_ERROR(AFS_SYNTAX, "afs syntax error"), \ #define MOOD_ERRORS \ @@ -348,6 +348,10 @@ extern const char **para_errlist[]; #define STRING_ERRORS \ PARA_ERROR(MKSTEMP, "mkstemp error: unable to create tmp file"), \ PARA_ERROR(FCHMOD, "fchmod error: can not set mode"), \ + PARA_ERROR(ATOI_OVERFLOW, "value too large"), \ + 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"), \ #define EXEC_ERRORS \ @@ -387,6 +391,7 @@ extern const char **para_errlist[]; #define VSS_ERRORS \ + PARA_ERROR(BAD_AUDIO_FILE_SUFFIX, "unknown suffix"), \ PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \ PARA_ERROR(CHUNK, "unable to get chunk"), \