CfgUSBLoader/source/unzip/infdef.h
Nitraiolo c9df95e9d1 GC - updated nintendont config support to version 0x00000006
GC - if nintendont_config_mode=arg is set nintendont configuration is passed via command line argument
GC - added minimum nitnendont version check before game load
GC - added possibility to update nintendont as a plugin if update_nintendont=1 is set
Internals - added UStealth support
Internals - fixed plugins update URLs
Usability - fixed reboot and exit behaviour
Usability - WFC patching options
2017-01-15 09:56:47 +00:00

24 lines
1.0 KiB
C

#include <stdio.h>
#define Z_FOPEN_ERROR (Z_VERSION_ERROR - 1)
#define Z_ALLOC_ERROR (Z_VERSION_ERROR - 2)
#define Z_FILE_ERROR (Z_VERSION_ERROR - 3)
/* Decompress from file source to file dest until stream ends or EOF.
inf() returns Z_OK on success, Z_MEM_ERROR if memory could not be
allocated for processing, Z_DATA_ERROR if the deflate data is
invalid or incomplete, Z_VERSION_ERROR if the version of zlib.h and
the version of the library linked do not match, or Z_ERRNO if there
is an error reading or writing the files. */
int zlib_inf(char *source, char *target);
/* Compress from file source to file dest until EOF on source.
def() returns Z_OK on success, Z_MEM_ERROR if memory could not be
allocated for processing, Z_STREAM_ERROR if an invalid compression
level is supplied, Z_VERSION_ERROR if the version of zlib.h and the
version of the library linked do not match, or Z_ERRNO if there is
an error reading or writing the files. */
int zlib_def(char *source, char *target, int level);