summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2006-11-03 16:46:19 +0000
committerPierre Joye <pajoye@php.net>2006-11-03 16:46:19 +0000
commit8ad0c6d543f5161c5a42536002884a30c153fefd (patch)
tree961388a6f097141242ea3c8744a4c1d1c77be72b /ext/zip/lib/zip.h
parentc002606a8888a0b85b7095c8809b136a815e0bab (diff)
downloadphp-git-8ad0c6d543f5161c5a42536002884a30c153fefd.tar.gz
- MFH:
- fix possible leak in statName and statIndex - add addEmptyDir() method - add zip_stat_init,zip_clear_error and zip_file_clear_error - add tests - Fix protos (Hannes) - setComment return value on success (Hannes)
Diffstat (limited to 'ext/zip/lib/zip.h')
-rw-r--r--ext/zip/lib/zip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/zip/lib/zip.h b/ext/zip/lib/zip.h
index 8cf690cad3..70c54f38ba 100644
--- a/ext/zip/lib/zip.h
+++ b/ext/zip/lib/zip.h
@@ -163,12 +163,15 @@ struct zip_source;
int zip_add(struct zip *, const char *, struct zip_source *);
+int zip_add_dir(struct zip *, const char *);
int zip_close(struct zip *);
int zip_delete(struct zip *, int);
+void zip_error_clear(struct zip *);
void zip_error_get(struct zip *, int *, int *);
int zip_error_get_sys_type(int);
int zip_error_to_str(char *, size_t, int, int);
int zip_fclose(struct zip_file *);
+void zip_file_error_clear(struct zip_file *);
void zip_file_error_get(struct zip_file *, int *, int *);
const char *zip_file_strerror(struct zip_file *);
struct zip_file *zip_fopen(struct zip *, const char *, int);
@@ -194,6 +197,7 @@ struct zip_source *zip_source_zip(struct zip *, struct zip *, int, int,
off_t, off_t);
int zip_stat(struct zip *, const char *, int, struct zip_stat *);
int zip_stat_index(struct zip *, int, int, struct zip_stat *);
+void zip_stat_init(struct zip_stat *);
const char *zip_strerror(struct zip *);
int zip_unchange(struct zip *, int);
int zip_unchange_all(struct zip *);