Thomas Klausner | dcf8ddc | 2009-05-11 13:50:24 +0200 | [diff] [blame] | 1 | /* |
| 2 | This file was generated automatically by ./make_zip_err_str.sh |
| 3 | from ./zip.h; make changes there. |
| 4 | */ |
| 5 | |
| 6 | #include "zipint.h" |
| 7 | |
Thomas Klausner | dcf8ddc | 2009-05-11 13:50:24 +0200 | [diff] [blame] | 8 | const char * const _zip_err_str[] = { |
| 9 | "No error", |
| 10 | "Multi-disk zip archives not supported", |
| 11 | "Renaming temporary file failed", |
| 12 | "Closing zip archive failed", |
| 13 | "Seek error", |
| 14 | "Read error", |
| 15 | "Write error", |
| 16 | "CRC error", |
| 17 | "Containing zip archive was closed", |
| 18 | "No such file", |
| 19 | "File already exists", |
| 20 | "Can't open file", |
| 21 | "Failure to create temporary file", |
| 22 | "Zlib error", |
| 23 | "Malloc failure", |
| 24 | "Entry has been changed", |
| 25 | "Compression method not supported", |
Thomas Klausner | ea8ba49 | 2014-09-23 16:54:47 +0200 | [diff] [blame] | 26 | "Premature end of file", |
Thomas Klausner | dcf8ddc | 2009-05-11 13:50:24 +0200 | [diff] [blame] | 27 | "Invalid argument", |
| 28 | "Not a zip archive", |
| 29 | "Internal error", |
| 30 | "Zip archive inconsistent", |
| 31 | "Can't remove file", |
| 32 | "Entry has been deleted", |
| 33 | "Encryption method not supported", |
| 34 | "Read-only archive", |
| 35 | "No password provided", |
| 36 | "Wrong password provided", |
Thomas Klausner | ea8ba49 | 2014-09-23 16:54:47 +0200 | [diff] [blame] | 37 | "Operation not supported", |
| 38 | "Resource still in use", |
| 39 | "Tell error", |
Thomas Klausner | dcf8ddc | 2009-05-11 13:50:24 +0200 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | const int _zip_nerr_str = sizeof(_zip_err_str)/sizeof(_zip_err_str[0]); |
| 43 | |
| 44 | #define N ZIP_ET_NONE |
| 45 | #define S ZIP_ET_SYS |
| 46 | #define Z ZIP_ET_ZLIB |
| 47 | |
| 48 | const int _zip_err_type[] = { |
| 49 | N, |
| 50 | N, |
| 51 | S, |
| 52 | S, |
| 53 | S, |
| 54 | S, |
| 55 | S, |
| 56 | N, |
| 57 | N, |
| 58 | N, |
| 59 | N, |
| 60 | S, |
| 61 | S, |
| 62 | Z, |
| 63 | N, |
| 64 | N, |
| 65 | N, |
| 66 | N, |
| 67 | N, |
| 68 | N, |
| 69 | N, |
| 70 | N, |
| 71 | S, |
| 72 | N, |
| 73 | N, |
| 74 | N, |
| 75 | N, |
| 76 | N, |
Thomas Klausner | ea8ba49 | 2014-09-23 16:54:47 +0200 | [diff] [blame] | 77 | N, |
| 78 | N, |
| 79 | S, |
Thomas Klausner | dcf8ddc | 2009-05-11 13:50:24 +0200 | [diff] [blame] | 80 | }; |