Changeset View
Changeset View
Standalone View
Standalone View
head/sys/contrib/zlib/zconf.h
/* zconf.h -- configuration of the zlib compression library | /* zconf.h -- configuration of the zlib compression library | ||||
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler | * Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler | ||||
* For conditions of distribution and use, see copyright notice in zlib.h | * For conditions of distribution and use, see copyright notice in zlib.h | ||||
*/ | */ | ||||
/* @(#) $FreeBSD$ */ | /* @(#) $FreeBSD$ */ | ||||
#ifndef ZCONF_H | #ifndef ZCONF_H | ||||
#define ZCONF_H | #define ZCONF_H | ||||
#ifdef __FreeBSD__ | |||||
#ifdef _KERNEL | |||||
#define Z_SOLO | |||||
#endif | |||||
#endif | |||||
/* | /* | ||||
* If you *really* need a unique prefix for all types and library functions, | * If you *really* need a unique prefix for all types and library functions, | ||||
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it. | * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it. | ||||
* Even better than compiling with -DZ_PREFIX would be to use configure to set | * Even better than compiling with -DZ_PREFIX would be to use configure to set | ||||
* this permanently in zconf.h using "./configure --zprefix". | * this permanently in zconf.h using "./configure --zprefix". | ||||
*/ | */ | ||||
#ifdef Z_PREFIX /* may be set to #if 1 by ./configure */ | #ifdef Z_PREFIX /* may be set to #if 1 by ./configure */ | ||||
# define Z_PREFIX_SET | # define Z_PREFIX_SET | ||||
/* all linked symbols and init macros */ | /* all linked symbols and init macros */ | ||||
# define _dist_code z__dist_code | # define _dist_code z__dist_code | ||||
# define _length_code z__length_code | # define _length_code z__length_code | ||||
# define _tr_align z__tr_align | # define _tr_align z__tr_align | ||||
# define _tr_flush_bits z__tr_flush_bits | # define _tr_flush_bits z__tr_flush_bits | ||||
# define _tr_flush_block z__tr_flush_block | # define _tr_flush_block z__tr_flush_block | ||||
# define _tr_init z__tr_init | # define _tr_init z__tr_init | ||||
# define _tr_stored_block z__tr_stored_block | # define _tr_stored_block z__tr_stored_block | ||||
# define _tr_tally z__tr_tally | # define _tr_tally z__tr_tally | ||||
# define adler32 z_adler32 | # define adler32 z_adler32 | ||||
# define adler32_combine z_adler32_combine | # define adler32_combine z_adler32_combine | ||||
# define adler32_combine64 z_adler32_combine64 | # define adler32_combine64 z_adler32_combine64 | ||||
# define adler32_z z_adler32_z | # define adler32_z z_adler32_z | ||||
# ifndef Z_SOLO | # if !defined(Z_SOLO) && !defined(_KERNEL) | ||||
# define compress z_compress | # define compress z_compress | ||||
# define compress2 z_compress2 | # define compress2 z_compress2 | ||||
# define compressBound z_compressBound | # define compressBound z_compressBound | ||||
# endif | # endif | ||||
# define crc32 z_crc32 | # define crc32 z_crc32 | ||||
# define crc32_combine z_crc32_combine | # define crc32_combine z_crc32_combine | ||||
# define crc32_combine64 z_crc32_combine64 | # define crc32_combine64 z_crc32_combine64 | ||||
# define crc32_z z_crc32_z | # define crc32_z z_crc32_z | ||||
▲ Show 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
# define inflateSetDictionary z_inflateSetDictionary | # define inflateSetDictionary z_inflateSetDictionary | ||||
# define inflateSync z_inflateSync | # define inflateSync z_inflateSync | ||||
# define inflateSyncPoint z_inflateSyncPoint | # define inflateSyncPoint z_inflateSyncPoint | ||||
# define inflateUndermine z_inflateUndermine | # define inflateUndermine z_inflateUndermine | ||||
# define inflateValidate z_inflateValidate | # define inflateValidate z_inflateValidate | ||||
# define inflate_copyright z_inflate_copyright | # define inflate_copyright z_inflate_copyright | ||||
# define inflate_fast z_inflate_fast | # define inflate_fast z_inflate_fast | ||||
# define inflate_table z_inflate_table | # define inflate_table z_inflate_table | ||||
# ifndef Z_SOLO | # if !defined(Z_SOLO) && !defined(_KERNEL) | ||||
# define uncompress z_uncompress | # define uncompress z_uncompress | ||||
# define uncompress2 z_uncompress2 | # define uncompress2 z_uncompress2 | ||||
# endif | # endif | ||||
# define zError z_zError | # define zError z_zError | ||||
# ifndef Z_SOLO | # if !defined(Z_SOLO) && !defined(_KERNEL) | ||||
# define zcalloc z_zcalloc | # define zcalloc z_zcalloc | ||||
# define zcfree z_zcfree | # define zcfree z_zcfree | ||||
# endif | # endif | ||||
# define zlibCompileFlags z_zlibCompileFlags | # define zlibCompileFlags z_zlibCompileFlags | ||||
# define zlibVersion z_zlibVersion | # define zlibVersion z_zlibVersion | ||||
/* all zlib typedefs in zlib.h and zconf.h */ | /* all zlib typedefs in zlib.h and zconf.h */ | ||||
# define Byte z_Byte | # define Byte z_Byte | ||||
▲ Show 20 Lines • Show All 404 Lines • Show Last 20 Lines |