zlib.c (28989) | zlib.c (33181) |
---|---|
1/* 2 * This file is derived from various .h and .c files from the zlib-0.95 3 * distribution by Jean-loup Gailly and Mark Adler, with some additions 4 * by Paul Mackerras to aid in implementing Deflate compression and 5 * decompression for PPP packets. See zlib.h for conditions of 6 * distribution and use. 7 * 8 * Changes that have been made include: 9 * - changed functions not used outside this file to "local" 10 * - added minCompression parameter to deflateInit2 11 * - added Z_PACKET_FLUSH (see zlib.h for details) 12 * - added inflateIncomp 13 * | 1/* 2 * This file is derived from various .h and .c files from the zlib-0.95 3 * distribution by Jean-loup Gailly and Mark Adler, with some additions 4 * by Paul Mackerras to aid in implementing Deflate compression and 5 * decompression for PPP packets. See zlib.h for conditions of 6 * distribution and use. 7 * 8 * Changes that have been made include: 9 * - changed functions not used outside this file to "local" 10 * - added minCompression parameter to deflateInit2 11 * - added Z_PACKET_FLUSH (see zlib.h for details) 12 * - added inflateIncomp 13 * |
14 * $Id: zlib.c,v 1.3 1997/08/19 14:10:48 peter Exp $ | 14 * $Id: zlib.c,v 1.4 1997/09/01 02:18:13 bde Exp $ |
15 */ 16 17/* 18 * ==FILEVERSION 970501== 19 * 20 * This marker is used by the Linux installation script to determine 21 * whether an up-to-date version of this file is already installed. 22 */ --- 4553 unchanged lines hidden (view full) --- 4576 * Copyright (C) 1995 Jean-loup Gailly. 4577 * For conditions of distribution and use, see copyright notice in zlib.h 4578 */ 4579 4580/* From: zutil.c,v 1.8 1995/05/03 17:27:12 jloup Exp */ 4581 4582char *zlib_version = ZLIB_VERSION; 4583 | 15 */ 16 17/* 18 * ==FILEVERSION 970501== 19 * 20 * This marker is used by the Linux installation script to determine 21 * whether an up-to-date version of this file is already installed. 22 */ --- 4553 unchanged lines hidden (view full) --- 4576 * Copyright (C) 1995 Jean-loup Gailly. 4577 * For conditions of distribution and use, see copyright notice in zlib.h 4578 */ 4579 4580/* From: zutil.c,v 1.8 1995/05/03 17:27:12 jloup Exp */ 4581 4582char *zlib_version = ZLIB_VERSION; 4583 |
4584char *z_errmsg[] = { | 4584static char *z_errmsg[] = { |
4585"stream end", /* Z_STREAM_END 1 */ 4586"", /* Z_OK 0 */ 4587"file error", /* Z_ERRNO (-1) */ 4588"stream error", /* Z_STREAM_ERROR (-2) */ 4589"data error", /* Z_DATA_ERROR (-3) */ 4590"insufficient memory", /* Z_MEM_ERROR (-4) */ 4591"buffer error", /* Z_BUF_ERROR (-5) */ 4592""}; --- 47 unchanged lines hidden --- | 4585"stream end", /* Z_STREAM_END 1 */ 4586"", /* Z_OK 0 */ 4587"file error", /* Z_ERRNO (-1) */ 4588"stream error", /* Z_STREAM_ERROR (-2) */ 4589"data error", /* Z_DATA_ERROR (-3) */ 4590"insufficient memory", /* Z_MEM_ERROR (-4) */ 4591"buffer error", /* Z_BUF_ERROR (-5) */ 4592""}; --- 47 unchanged lines hidden --- |