1 /* lzo1c_cc.h -- definitions for the the LZO1C compression driver
2 
3    This file is part of the LZO real-time data compression library.
4 
5    Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
6    All Rights Reserved.
7 
8    The LZO library is free software; you can redistribute it and/or
9    modify it under the terms of the GNU General Public License as
10    published by the Free Software Foundation; either version 2 of
11    the License, or (at your option) any later version.
12 
13    The LZO library is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17 
18    You should have received a copy of the GNU General Public License
19    along with the LZO library; see the file COPYING.
20    If not, write to the Free Software Foundation, Inc.,
21    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 
23    Markus F.X.J. Oberhumer
24    <markus@oberhumer.com>
25    http://www.oberhumer.com/opensource/lzo/
26  */
27 
28 
29 /* WARNING: this file should *not* be used by applications. It is
30    part of the implementation of the library and is subject
31    to change.
32  */
33 
34 
35 #ifndef __LZO1C_CC_H
36 #define __LZO1C_CC_H 1
37 
38 
39 /***********************************************************************
40 //
41 ************************************************************************/
42 
43 extern const lzo_compress_t _lzo1c_1_compress_func;
44 extern const lzo_compress_t _lzo1c_2_compress_func;
45 extern const lzo_compress_t _lzo1c_3_compress_func;
46 extern const lzo_compress_t _lzo1c_4_compress_func;
47 extern const lzo_compress_t _lzo1c_5_compress_func;
48 extern const lzo_compress_t _lzo1c_6_compress_func;
49 extern const lzo_compress_t _lzo1c_7_compress_func;
50 extern const lzo_compress_t _lzo1c_8_compress_func;
51 extern const lzo_compress_t _lzo1c_9_compress_func;
52 
53 extern const lzo_compress_t _lzo1c_99_compress_func;
54 
55 
56 /***********************************************************************
57 //
58 ************************************************************************/
59 
60 LZO_LOCAL_DECL(lzo_bytep )
61 _lzo1c_store_run ( lzo_bytep const oo, const lzo_bytep const ii,
62                    lzo_uint r_len);
63 
64 #define STORE_RUN   _lzo1c_store_run
65 
66 
67 LZO_LOCAL_DECL(int)
68 _lzo1c_do_compress ( const lzo_bytep in,  lzo_uint  in_len,
69                            lzo_bytep out, lzo_uintp out_len,
70                            lzo_voidp wrkmem,
71                            lzo_compress_t func );
72 
73 
74 #endif /* already included */
75 
76 
77 /* vim:set ts=4 sw=4 et: */
78