view deleted_files/usr/src/uts/common/zmod/infcodes.h @ 3886:3291401d66a6

6536602 add zlib compression support and upgrade to version 1.2.3 6536606 gzip compression for ZFS 6536608 restore zmod mapfile 6536631 decompress.c should use the new gzip support in zlib
author ahl
date Thu, 22 Mar 2007 17:30:12 -0700
parents usr/src/uts/common/zmod/infcodes.h@68f95e015346
children
line wrap: on
line source

/*
 * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 */

/*
 * infcodes.h -- header to use infcodes.c
 * Copyright (C) 1995-1998 Mark Adler
 * For conditions of distribution and use, see copyright notice in zlib.h 
 */

#ifndef	_INFCODES_H
#define	_INFCODES_H

#pragma ident	"%Z%%M%	%I%	%E% SMI"

#ifdef	__cplusplus
extern "C" {
#endif

struct inflate_codes_state;
typedef struct inflate_codes_state inflate_codes_statef;

extern inflate_codes_statef *inflate_codes_new(uInt, uInt, inflate_huft *,
	inflate_huft *, z_streamp);

extern int inflate_codes(inflate_blocks_statef *, z_streamp, int);
extern void inflate_codes_free(inflate_codes_statef *, z_streamp);

#ifdef	__cplusplus
}
#endif

#endif	/* _INFCODES_H */