1 /*****************************************************************************/
5 /* Decompression routines for the 'deflate' format */
9 /* (C) 2000-2001 Piotr Fusik */
10 /* a.k.a. Fox/Taquart */
11 /* EMail: fox@scene.pl */
14 /* This software is provided 'as-is', without any expressed or implied */
15 /* warranty. In no event will the authors be held liable for any damages */
16 /* arising from the use of this software. */
18 /* Permission is granted to anyone to use this software for any purpose, */
19 /* including commercial applications, and to alter it and redistribute it */
20 /* freely, subject to the following restrictions: */
22 /* 1. The origin of this software must not be misrepresented; you must not */
23 /* claim that you wrote the original software. If you use this software */
24 /* in a product, an acknowledgment in the product documentation would be */
25 /* appreciated but is not required. */
26 /* 2. Altered source versions must be plainly marked as such, and must not */
27 /* be misrepresented as being the original software. */
28 /* 3. This notice may not be removed or altered from any source */
31 /*****************************************************************************/
40 void* inflatemem (void* dest, void* src);
41 /* Read the deflate compressed data starting from src and store
42 * the uncompressed data starting from dest.
43 * Return pointer to a byte after the decompressed data. That is, the result
44 * minus dest is the size of the decompressed data.