1*c9431fa1Sahl /* 2*c9431fa1Sahl * CDDL HEADER START 3*c9431fa1Sahl * 4*c9431fa1Sahl * The contents of this file are subject to the terms of the 5*c9431fa1Sahl * Common Development and Distribution License (the "License"). 6*c9431fa1Sahl * You may not use this file except in compliance with the License. 7*c9431fa1Sahl * 8*c9431fa1Sahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*c9431fa1Sahl * or http://www.opensolaris.org/os/licensing. 10*c9431fa1Sahl * See the License for the specific language governing permissions 11*c9431fa1Sahl * and limitations under the License. 12*c9431fa1Sahl * 13*c9431fa1Sahl * When distributing Covered Code, include this CDDL HEADER in each 14*c9431fa1Sahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*c9431fa1Sahl * If applicable, add the following below this CDDL HEADER, with the 16*c9431fa1Sahl * fields enclosed by brackets "[]" replaced with your own identifying 17*c9431fa1Sahl * information: Portions Copyright [yyyy] [name of copyright owner] 18*c9431fa1Sahl * 19*c9431fa1Sahl * CDDL HEADER END 20*c9431fa1Sahl */ 21*c9431fa1Sahl 22*c9431fa1Sahl /* 23*c9431fa1Sahl * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24*c9431fa1Sahl * Use is subject to license terms. 25*c9431fa1Sahl */ 26*c9431fa1Sahl 27*c9431fa1Sahl #include <sys/types.h> 28*c9431fa1Sahl #include <sys/zmod.h> 29*c9431fa1Sahl 30*c9431fa1Sahl #include "zlib.h" 31*c9431fa1Sahl 32*c9431fa1Sahl /*ARGSUSED*/ 33*c9431fa1Sahl int 34*c9431fa1Sahl z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen) 35*c9431fa1Sahl { 36*c9431fa1Sahl return (0); 37*c9431fa1Sahl } 38*c9431fa1Sahl 39*c9431fa1Sahl /*ARGSUSED*/ 40*c9431fa1Sahl int 41*c9431fa1Sahl z_compress(void *dst, size_t *dstlen, const void *src, size_t srclen) 42*c9431fa1Sahl { 43*c9431fa1Sahl return (0); 44*c9431fa1Sahl } 45*c9431fa1Sahl 46*c9431fa1Sahl /*ARGSUSED*/ 47*c9431fa1Sahl int 48*c9431fa1Sahl z_compress_level(void *dst, size_t *dstlen, const void *src, size_t srclen, 49*c9431fa1Sahl int level) 50*c9431fa1Sahl { 51*c9431fa1Sahl return (0); 52*c9431fa1Sahl } 53*c9431fa1Sahl 54*c9431fa1Sahl /*ARGSUSED*/ 55*c9431fa1Sahl const char * 56*c9431fa1Sahl z_strerror(int err) 57*c9431fa1Sahl { 58*c9431fa1Sahl return (NULL); 59*c9431fa1Sahl } 60*c9431fa1Sahl 61*c9431fa1Sahl /*ARGSUSED*/ 62*c9431fa1Sahl int 63*c9431fa1Sahl inflate(z_streamp strm, int flush) 64*c9431fa1Sahl { 65*c9431fa1Sahl return (0); 66*c9431fa1Sahl } 67*c9431fa1Sahl 68*c9431fa1Sahl /*ARGSUSED*/ 69*c9431fa1Sahl int 70*c9431fa1Sahl inflateInit2_(z_streamp strm, int window, const char *version, int size) 71*c9431fa1Sahl { 72*c9431fa1Sahl return (0); 73*c9431fa1Sahl } 74*c9431fa1Sahl 75*c9431fa1Sahl /*ARGSUSED*/ 76*c9431fa1Sahl int 77*c9431fa1Sahl inflateEnd(z_streamp strm) 78*c9431fa1Sahl { 79*c9431fa1Sahl return (0); 80*c9431fa1Sahl } 81*c9431fa1Sahl 82*c9431fa1Sahl /*ARGSUSED*/ 83*c9431fa1Sahl int 84*c9431fa1Sahl inflateReset(z_streamp strm) 85*c9431fa1Sahl { 86*c9431fa1Sahl return (0); 87*c9431fa1Sahl } 88