Toshiba BDX2300 User Manual page 88

User guide
Table of Contents

Advertisement

88
License Information
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
zlib License
zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.2, October 3rd,
2004
Copyright (C) 1995-2004 Jean-loup Gailly and Mark Adler
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.
Jean-loup Gailly jloup@gzip.org
Mark Adler madler@alumni.caltech.edu
zziplib
The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files
archived in a single zip file. Applications can bundle files into a single zip archive and access
them. The implementation is based only on the (free) subset of compression with the zlib
algorithm which is actually used by the zip/unzip tools.
The library allows reading zip archives in a number of ways,
archive mode:
reading the zip directory and extracting files from it. This is the traditional mode as seen with
unzip-utilities. Some extra unzip-utiles for transparent/magic mode are shipped as well.
replacement mode:
Use ZZIP_FILE / ZZIP_DIR pointers provided by zziplib and put them to work with routines
originally developped to work with real directories and file handles. The API calls do follow
traditional synopsis from posix/stdio.
transparent mode:
Use replacement handles and allow the open()-calls to automatically detect when a file is
contained in a zip archive or when it is a real file in the file system. A filepath can be partly in a
real filesystem and partly within the zip archive when one is seen.
ext magic
Use the same filepath to access either a zipped or real file - it looks for a real file and there is
none then every subdirectory of the path is checked, a ".zip" extension appended, and the zipped
file transparently opened. This can speed up dat-file development dramatically.
io/xor magic
The access to the filesystem can be hooked up - examples are given for xor obfuscation which is
great for game artwork and AI data. A small intro for SDLrwops usage is given as well.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bdx2300kcBdx3300kc

Table of Contents