Annotation of embedaddon/php/ext/zip/lib/zip_err_str.c, revision 1.1
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",
! 35: };
! 36:
! 37: const int _zip_nerr_str = sizeof(_zip_err_str)/sizeof(_zip_err_str[0]);
! 38:
! 39: #define N ZIP_ET_NONE
! 40: #define S ZIP_ET_SYS
! 41: #define Z ZIP_ET_ZLIB
! 42:
! 43: const int _zip_err_type[] = {
! 44: N,
! 45: N,
! 46: S,
! 47: S,
! 48: S,
! 49: S,
! 50: S,
! 51: N,
! 52: N,
! 53: N,
! 54: N,
! 55: S,
! 56: S,
! 57: Z,
! 58: N,
! 59: N,
! 60: N,
! 61: N,
! 62: N,
! 63: N,
! 64: N,
! 65: N,
! 66: S,
! 67: N,
! 68: };
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>