mirror of
https://github.com/zlib-ng/minizip-ng.git
synced 2026-01-18 13:11:19 +01:00
Drop PKWARE's APPNOTE
appnote.txt explicitly forbids reproduction or distribution in 1.4.2. Therefore, drop it and reference it via URL.
This commit is contained in:
committed by
Nathan Moinvaziri
parent
3ad5bb4a2f
commit
45610c1bfc
@@ -111,4 +111,4 @@ Thanks go out to all the people who have taken the time to contribute code revie
|
||||
|
||||
Thanks to [Gilles Vollant](https://www.winimage.com/zLibDll/minizip.html) on which this work is originally based on.
|
||||
|
||||
The [ZIP format](https://github.com/zlib-ng/minizip-ng/blob/master/doc/zip/appnote.txt) was defined by Phil Katz of PKWARE.
|
||||
The [ZIP format](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) was defined by Phil Katz of PKWARE.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# MZ_HOST_SYSTEM
|
||||
|
||||
Host system enumeration. These values correspond to section 4.4.2.2 of the [PKWARE zip app note](zip/appnote.txt).
|
||||
Host system enumeration. These values correspond to section 4.4.2.2 of the [PKWARE zip app note](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT).
|
||||
|
||||
|Name|Code|Description|
|
||||
|-|-|-|
|
||||
@@ -21,4 +21,4 @@ Host system enumeration. These values correspond to section 4.4.2.2 of the [PKWA
|
||||
if (host_sys == MZ_HOST_SYSTEM_MSDOS) {
|
||||
printf("Zip entry attributes are MS-DOS compatible\n");
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
@@ -210,7 +210,7 @@ Gets the zip file's version information.
|
||||
|Type|Name|Description|
|
||||
|-|-|-|
|
||||
|void *|handle|_mz_zip_ instance|
|
||||
|uint16_t *|version_madeby|Pointer to version value (See [PKWARE zip app note](zip/appnote.txt) 4.4.2)|
|
||||
|uint16_t *|version_madeby|Pointer to version value (See [PKWARE zip app note](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) 4.4.2)|
|
||||
|
||||
**Return**
|
||||
|Type|Description|
|
||||
@@ -235,7 +235,7 @@ Sets the zip file's version information. The application that original wrote the
|
||||
|Type|Name|Description|
|
||||
|-|-|-|
|
||||
|void *|handle|_mz_zip_ instance|
|
||||
|uint16_t|version_madeby|Version value (See [PKWARE zip app note](zip/appnote.txt) 4.4.2)|
|
||||
|uint16_t|version_madeby|Version value (See [PKWARE zip app note](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) 4.4.2)|
|
||||
|
||||
**Return**
|
||||
|Type|Description|
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# MZ_ZIP64
|
||||
|
||||
Zip64 mode enumeration. The zip64 extension is documented in [PKWARE zip app note](zip/appnote.txt) section 4.5.3 and provides support for zip files and entries greater than 4GB. These modes are only supported while writing a zip entry.
|
||||
Zip64 mode enumeration. The zip64 extension is documented in [PKWARE zip app note](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) section 4.5.3 and provides support for zip files and entries greater than 4GB. These modes are only supported while writing a zip entry.
|
||||
|
||||
|Name|Code|Description|
|
||||
|-|-|-|
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Zip entry information structure. The _mz_zip_file_ structure is populated when reading zip entry information and can be used to populate zip entry information when writing zip entries.
|
||||
|
||||
|Type|Name|Description|[PKWARE zip app note](zip/appnote.txt) section|
|
||||
|Type|Name|Description|[PKWARE zip app note](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) section|
|
||||
|-|-|-|-|
|
||||
|uint16_t|version_madeby|Version made by field|4.4.2|
|
||||
|uint16_t|version_needed|Version needed to extract|4.4.3|
|
||||
@@ -76,4 +76,4 @@ AES encryption strength, by default 256-bit encryption is used for compression.
|
||||
|-|-|-|
|
||||
| MZ_AES_STRENGTH_128 | 0x01 | 128-bit AES encryption |
|
||||
| MZ_AES_STRENGTH_192 | 0x02 | 192-bit AES encryption |
|
||||
| MZ_AES_STRENGTH_256 | 0x03 | 256-bit AES encryption |
|
||||
| MZ_AES_STRENGTH_256 | 0x03 | 256-bit AES encryption |
|
||||
|
||||
3497
doc/zip/appnote.txt
3497
doc/zip/appnote.txt
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user