⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inflate.h

📁 基于组件方式开发操作系统的OSKIT源代码
💻 H
字号:
/* * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * <phk@login.dkuug.dk> wrote this file.  As long as you retain this notice you * can do whatever you want with this stuff. If we meet some day, and you think * this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp * ---------------------------------------------------------------------------- * * */#ifndef	_SYS_INFLATE_H_#define	_SYS_INFLATE_H_#if defined(KERNEL) || defined(KZIP)#define GZ_EOF -1#define GZ_WSIZE 0x8000/* * Global variables used by inflate and friends. * This structure is used in order to make inflate() reentrant. */struct inflate {	/* Public part */	/* This pointer is passed along to the two functions below */	void           *gz_private;	/* Fetch next character to be uncompressed */	int             (*gz_input) (void *);	/* Dispose of uncompressed characters */	int             (*gz_output) (void *, u_char *, u_long);	/* Private part */	u_long          gz_bb;	/* bit buffer */	unsigned        gz_bk;	/* bits in bit buffer */	unsigned        gz_hufts;	/* track memory usage */	struct huft    *gz_fixed_tl;	/* must init to NULL !! */	struct huft    *gz_fixed_td;	int             gz_fixed_bl;	int             gz_fixed_bd;	u_char         *gz_slide;	unsigned        gz_wp;};int inflate     __P((struct inflate *));#endif	/* KERNEL || KZIP */#endif	/* ! _SYS_INFLATE_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -