summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/php_zip.h')
-rw-r--r--ext/zip/php_zip.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h
index 1eb100d45f..b6617e81fb 100644
--- a/ext/zip/php_zip.h
+++ b/ext/zip/php_zip.h
@@ -60,6 +60,12 @@ typedef struct _ze_zip_object {
int filename_len;
int buffers_cnt;
zend_object zo;
+#ifdef HAVE_PROGRESS_CALLBACK
+ zval progress_callback;
+#endif
+#ifdef HAVE_CANCEL_CALLBACK
+ zval cancel_callback;
+#endif
} ze_zip_object;
static inline ze_zip_object *php_zip_fetch_object(zend_object *obj) {