Annotation of embedaddon/php/ext/zip/lib/zip_err_str.c, revision 1.1.1.2
1.1 misho 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:
9:
10: const char * const _zip_err_str[] = {
11: "No error",
12: "Multi-disk zip archives not supported",
13: "Renaming temporary file failed",
14: "Closing zip archive failed",
15: "Seek error",
16: "Read error",
17: "Write error",
18: "CRC error",
19: "Containing zip archive was closed",
20: "No such file",
21: "File already exists",
22: "Can't open file",
23: "Failure to create temporary file",
24: "Zlib error",
25: "Malloc failure",
26: "Entry has been changed",
27: "Compression method not supported",
28: "Premature EOF",
29: "Invalid argument",
30: "Not a zip archive",
31: "Internal error",
32: "Zip archive inconsistent",
33: "Can't remove file",
34: "Entry has been deleted",
1.1.1.2 ! misho 35: "Encryption method not supported",
! 36: "Read-only archive",
! 37: "No password provided",
! 38: "Wrong password provided",
1.1 misho 39: };
40:
41: const int _zip_nerr_str = sizeof(_zip_err_str)/sizeof(_zip_err_str[0]);
42:
43: #define N ZIP_ET_NONE
44: #define S ZIP_ET_SYS
45: #define Z ZIP_ET_ZLIB
46:
47: const int _zip_err_type[] = {
48: N,
49: N,
50: S,
51: S,
52: S,
53: S,
54: S,
55: N,
56: N,
57: N,
58: N,
59: S,
60: S,
61: Z,
62: N,
63: N,
64: N,
65: N,
66: N,
67: N,
68: N,
69: N,
70: S,
71: N,
1.1.1.2 ! misho 72: N,
! 73: N,
! 74: N,
! 75: N,
1.1 misho 76: };
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>