mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-02 17:02:17 +00:00
ca112294b8
.. from zlib-1.2.7/contrib/minizip/ The original source was minizip 0.15beta from 1998. This update brings zip64 support (untested) and cleaner code. Furthermore, updates to future minizip should be much easier now, as my changes to the original source files from minizip are quite small. To make diffing to upstream minizip-src easier, I added the minizip source as exceptions in the astyle-scripts and left them in their own directory. Two custom functions from idSoftware - unzSetCurrentFileInfoPosition() and unzGetCurrentFileInfoPosition() - aren't needed anymore as minizip 1.1 has functions that do the same.
50 lines
2 KiB
C
50 lines
2 KiB
C
|
|
/* unzip.h -- IO for uncompress .zip files using zlib
|
|
Version 0.15 beta, Mar 19th, 1998,
|
|
|
|
Copyright (C) 1998 Gilles Vollant
|
|
|
|
This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g
|
|
WinZip, InfoZip tools and compatible.
|
|
Encryption and multi volume ZipFile (span) are not supported.
|
|
Old compressions used by old PKZip 1.x are not supported
|
|
|
|
THIS IS AN ALPHA VERSION. AT THIS STAGE OF DEVELOPPEMENT, SOMES API OR STRUCTURE
|
|
CAN CHANGE IN FUTURE VERSION !!
|
|
I WAIT FEEDBACK at mail info@winimage.com
|
|
Visit also http://www.winimage.com/zLibDll/unzip.htm for evolution
|
|
|
|
Condition of use and distribution are the same than zlib :
|
|
|
|
This software is provided 'as-is', without any express or implied
|
|
warranty. In no event will the authors be held liable for any damages
|
|
arising from the use of this software.
|
|
|
|
Permission is granted to anyone to use this software for any purpose,
|
|
including commercial applications, and to alter it and redistribute it
|
|
freely, subject to the following restrictions:
|
|
|
|
1. The origin of this software must not be misrepresented; you must not
|
|
claim that you wrote the original software. If you use this software
|
|
in a product, an acknowledgment in the product documentation would be
|
|
appreciated but is not required.
|
|
2. Altered source versions must be plainly marked as such, and must not be
|
|
misrepresented as being the original software.
|
|
3. This notice may not be removed or altered from any source distribution.
|
|
|
|
|
|
*/
|
|
#ifndef __UNZIP_H__
|
|
#define __UNZIP_H__
|
|
|
|
#include "minizip/unzip.h"
|
|
|
|
/*
|
|
* DG: all unzip code has been moved to minizip/
|
|
* when being updated to minizip 1.1 (instead of the previously used minizip 0.15beta from 1998)
|
|
* This update brings zip64 support (untested) and much cleaner code.
|
|
* Furthermore, updates to future minizip should be much easier now, as my changes to the
|
|
* original source files from minizip are quite small.
|
|
*/
|
|
|
|
#endif /* __UNZIP_H__ */
|