Changeset View
Changeset View
Standalone View
Standalone View
cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | #endif | ||||
return (zlib.z_dlp); | return (zlib.z_dlp); | ||||
} | } | ||||
/* | /* | ||||
* The ctf_bufopen() routine calls these subroutines, defined by <sys/zmod.h>, | * The ctf_bufopen() routine calls these subroutines, defined by <sys/zmod.h>, | ||||
* which we then patch through to the functions in the decompression library. | * which we then patch through to the functions in the decompression library. | ||||
*/ | */ | ||||
int | int | ||||
z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen) | zmod_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen) | ||||
{ | { | ||||
return (zlib.z_uncompress(dst, (ulong_t *)dstlen, src, srclen)); | return (zlib.z_uncompress(dst, (ulong_t *)dstlen, src, srclen)); | ||||
} | } | ||||
const char * | const char * | ||||
z_strerror(int err) | z_strerror(int err) | ||||
{ | { | ||||
return (zlib.z_error(err)); | return (zlib.z_error(err)); | ||||
▲ Show 20 Lines • Show All 394 Lines • Show Last 20 Lines |