]> git.sur5r.net Git - cc65/blob - include/lz4.h
Atari: Add detection of RealDOS (http://www.realdos.net/realdos.html).
[cc65] / include / lz4.h
1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                  lz4.h                                    */
4 /*                                                                           */
5 /*              Decompression routine for the 'lz4' format                   */
6 /*                                                                           */
7 /*                                                                           */
8 /*                                                                           */
9 /* (C) 2017 Mega Cat Studios                                                 */
10 /*                                                                           */
11 /* This software is provided 'as-is', without any expressed or implied       */
12 /* warranty.  In no event will the authors be held liable for any damages    */
13 /* arising from the use of this software.                                    */
14 /*                                                                           */
15 /* Permission is granted to anyone to use this software for any purpose,     */
16 /* including commercial applications, and to alter it and redistribute it    */
17 /* freely, subject to the following restrictions:                            */
18 /*                                                                           */
19 /* 1. The origin of this software must not be misrepresented; you must not   */
20 /*    claim that you wrote the original software. If you use this software   */
21 /*    in a product, an acknowledgment in the product documentation would be  */
22 /*    appreciated but is not required.                                       */
23 /* 2. Altered source versions must be plainly marked as such, and must not   */
24 /*    be misrepresented as being the original software.                      */
25 /* 3. This notice may not be removed or altered from any source              */
26 /*    distribution.                                                          */
27 /*                                                                           */
28 /*****************************************************************************/
29
30
31
32 #ifndef _LZ4_H
33 #define _LZ4_H
34
35 void __fastcall__ decompress_lz4 (const unsigned char* src, unsigned char* const dst,
36                                   const unsigned short uncompressed_size);
37 /* Decompresses the source buffer into the destination buffer.
38 ** The size of the decompressed data must be known in advance, LZ4
39 ** does not include any terminator in-stream.
40 */
41
42 /* end of lz4.h */
43 #endif