OpenCore
1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
zutil.c
Go to the documentation of this file.
1
/* zutil.c -- target dependent utility functions for the compression library
2
* Copyright (C) 1995-2017 Jean-loup Gailly
3
* For conditions of distribution and use, see copyright notice in zlib.h
4
*/
5
6
/* @(#) $Id$ */
7
8
#include "
zutil.h
"
9
10
z_const
char
*
const
z_errmsg
[10] = {
11
(
z_const
char
*)
"need dictionary"
,
/* Z_NEED_DICT 2 */
12
(
z_const
char
*)
"stream end"
,
/* Z_STREAM_END 1 */
13
(
z_const
char
*)
""
,
/* Z_OK 0 */
14
(
z_const
char
*)
"file error"
,
/* Z_ERRNO (-1) */
15
(
z_const
char
*)
"stream error"
,
/* Z_STREAM_ERROR (-2) */
16
(
z_const
char
*)
"data error"
,
/* Z_DATA_ERROR (-3) */
17
(
z_const
char
*)
"insufficient memory"
,
/* Z_MEM_ERROR (-4) */
18
(
z_const
char
*)
"buffer error"
,
/* Z_BUF_ERROR (-5) */
19
(
z_const
char
*)
"incompatible version"
,
/* Z_VERSION_ERROR (-6) */
20
(
z_const
char
*)
""
21
};
22
23
// PMheart: This is a simplified version of zutil.c, with only z_errmsg.
z_const
#define z_const
Definition
zconf.h:47
z_errmsg
z_const char *const z_errmsg[10]
Definition
zutil.c:10
zutil.h
Library
OcCompressionLib
zlib
zutil.c
Generated by
1.12.0