Mercurial > embed
comparison libzip/lib/zip_err_str.c @ 4:2306f4b04790
libzip: import 1.1.2
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 24 Feb 2016 21:19:28 +0100 |
parents | |
children | 056ee6b5913e |
comparison
equal
deleted
inserted
replaced
3:543b0653ea27 | 4:2306f4b04790 |
---|---|
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 | |
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", | |
26 "Premature end of file", | |
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", | |
37 "Operation not supported", | |
38 "Resource still in use", | |
39 "Tell error", | |
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, | |
77 N, | |
78 N, | |
79 S, | |
80 }; |