diff options
Diffstat (limited to 'ext/zip/php_zip.h')
-rw-r--r-- | ext/zip/php_zip.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h index 7caf65f006..67fd87d6da 100644 --- a/ext/zip/php_zip.h +++ b/ext/zip/php_zip.h @@ -1,7 +1,5 @@ /* +----------------------------------------------------------------------+ - | PHP Version 7 | - +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | @@ -33,7 +31,7 @@ extern zend_module_entry zip_module_entry; #define ZIP_OVERWRITE ZIP_TRUNCATE #endif -#define PHP_ZIP_VERSION "1.15.6" +#define PHP_ZIP_VERSION "1.19.1" #define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename) @@ -50,9 +48,6 @@ typedef struct _ze_zip_read_rsrc { struct zip_stat sb; } zip_read_rsrc; -#define ZIPARCHIVE_ME(name, arg_info, flags) {#name, c_ziparchive_ ##name, arg_info,(uint32_t) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags }, -#define ZIPARCHIVE_METHOD(name) ZEND_NAMED_FUNCTION(c_ziparchive_ ##name) - /* Extends zend object */ typedef struct _ze_zip_object { struct zip *za; @@ -61,6 +56,15 @@ typedef struct _ze_zip_object { char *filename; int filename_len; int buffers_cnt; + zip_int64_t last_id; + int err_zip; + int err_sys; +#ifdef HAVE_PROGRESS_CALLBACK + zval progress_callback; +#endif +#ifdef HAVE_CANCEL_CALLBACK + zval cancel_callback; +#endif zend_object zo; } ze_zip_object; |