From d04075478d378d9e15f3e1abfd14b0bd124077d4 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 11:48:36 +0800 Subject: init commit via android 4.4 uboot --- compressed/zlib_inflate/infutil.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 compressed/zlib_inflate/infutil.h (limited to 'compressed/zlib_inflate/infutil.h') diff --git a/compressed/zlib_inflate/infutil.h b/compressed/zlib_inflate/infutil.h new file mode 100755 index 0000000..eb1a900 --- /dev/null +++ b/compressed/zlib_inflate/infutil.h @@ -0,0 +1,25 @@ +/* infutil.h -- types and macros common to blocks and codes + * Copyright (C) 1995-1998 Mark Adler + * For conditions of distribution and use, see copyright notice in zlib.h + */ + +/* WARNING: this file should *not* be used by applications. It is + part of the implementation of the compression library and is + subject to change. Applications should only use zlib.h. + */ + +#ifndef _INFUTIL_H +#define _INFUTIL_H + +#include + +/* memory allocation for inflation */ + +struct inflate_workspace { + struct inflate_state inflate_state; + unsigned char working_window[1 << MAX_WBITS]; +}; + +#define WS(z) ((struct inflate_workspace *)(z->workspace)) + +#endif -- cgit