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