blob: 65698be00e46422a828ae99c1ba1b84556ed3d08 [file] [log] [blame]
Thomas Klausnerdcf8ddc2009-05-11 13:50:24 +02001/*
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 Klausnerdcf8ddc2009-05-11 13:50:24 +02008const 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 Klausnerea8ba492014-09-23 16:54:47 +020026 "Premature end of file",
Thomas Klausnerdcf8ddc2009-05-11 13:50:24 +020027 "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 Klausnerea8ba492014-09-23 16:54:47 +020037 "Operation not supported",
38 "Resource still in use",
39 "Tell error",
Thomas Klausnerdcf8ddc2009-05-11 13:50:24 +020040};
41
42const 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
48const 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 Klausnerea8ba492014-09-23 16:54:47 +020077 N,
78 N,
79 S,
Thomas Klausnerdcf8ddc2009-05-11 13:50:24 +020080};