summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zipint.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/lib/zipint.h')
-rw-r--r--ext/zip/lib/zipint.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/zip/lib/zipint.h b/ext/zip/lib/zipint.h
index 2b6ed2772f..5a07271aac 100644
--- a/ext/zip/lib/zipint.h
+++ b/ext/zip/lib/zipint.h
@@ -20,7 +20,7 @@
3. The names of the authors may not be used to endorse or promote
products derived from this software without specific prior
written permission.
-
+
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -181,7 +181,7 @@ zip_compression_implementation _zip_get_compression_implementation(zip_int32_t);
zip_encryption_implementation _zip_get_encryption_implementation(zip_uint16_t);
-
+
/* This API is not final yet, but we need it internally, so it's private for now. */
@@ -224,7 +224,7 @@ struct zip_source *zip_source_window(struct zip *, struct zip_source *,
struct zip_source *zip_source_pop(struct zip_source *);
-
+
/* error source for layered sources */
@@ -290,7 +290,7 @@ struct zip {
unsigned int nfile; /* number of opened files within archive */
unsigned int nfile_alloc; /* number of files allocated */
struct zip_file **file; /* opened files within archive */
-
+
char *tempdir; /* custom temp dir (needed e.g. for OS X sandboxing) */
};
@@ -354,7 +354,7 @@ struct zip_extra_field {
zip_uint8_t *data;
};
-
+
struct zip_source {
struct zip_source *src;
@@ -376,7 +376,7 @@ struct zip_entry {
int deleted;
};
-
+
/* file or archive comment, or filename */
@@ -388,7 +388,7 @@ struct zip_string {
zip_uint32_t converted_length; /* length of converted */
};
-
+
/* which files to write, and in which order (name is for torrentzip sorting) */
@@ -397,13 +397,13 @@ struct zip_filelist {
const char *name;
};
-
+
extern const char * const _zip_err_str[];
extern const int _zip_nerr_str;
extern const int _zip_err_type[];
-
+
#define ZIP_ENTRY_CHANGED(e, f) ((e)->changes && ((e)->changes->changed & (f)))
@@ -411,7 +411,7 @@ extern const int _zip_err_type[];
#define ZIP_IS_RDONLY(za) ((za)->ch_flags & ZIP_AFL_RDONLY)
-
+
zip_int64_t _zip_add_entry(struct zip *);