Back to index

php5  5.3.10
zip_err_str.c
Go to the documentation of this file.
00001 /*
00002    This file was generated automatically by ./make_zip_err_str.sh
00003    from ./zip.h; make changes there.
00004  */
00005 
00006 #include "zipint.h"
00007 
00008 
00009 
00010 const char * const _zip_err_str[] = {
00011     "No error",
00012     "Multi-disk zip archives not supported",
00013     "Renaming temporary file failed",
00014     "Closing zip archive failed",
00015     "Seek error",
00016     "Read error",
00017     "Write error",
00018     "CRC error",
00019     "Containing zip archive was closed",
00020     "No such file",
00021     "File already exists",
00022     "Can't open file",
00023     "Failure to create temporary file",
00024     "Zlib error",
00025     "Malloc failure",
00026     "Entry has been changed",
00027     "Compression method not supported",
00028     "Premature EOF",
00029     "Invalid argument",
00030     "Not a zip archive",
00031     "Internal error",
00032     "Zip archive inconsistent",
00033     "Can't remove file",
00034     "Entry has been deleted",
00035 };
00036 
00037 const int _zip_nerr_str = sizeof(_zip_err_str)/sizeof(_zip_err_str[0]);
00038 
00039 #define N ZIP_ET_NONE
00040 #define S ZIP_ET_SYS
00041 #define Z ZIP_ET_ZLIB
00042 
00043 const int _zip_err_type[] = {
00044     N,
00045     N,
00046     S,
00047     S,
00048     S,
00049     S,
00050     S,
00051     N,
00052     N,
00053     N,
00054     N,
00055     S,
00056     S,
00057     Z,
00058     N,
00059     N,
00060     N,
00061     N,
00062     N,
00063     N,
00064     N,
00065     N,
00066     S,
00067     N,
00068 };