Squash  0.7.0
types.h
1 /* Copyright (c) 2013 The Squash Authors
2  *
3  * Permission is hereby granted, free of charge, to any person
4  * obtaining a copy of this software and associated documentation
5  * files (the "Software"), to deal in the Software without
6  * restriction, including without limitation the rights to use, copy,
7  * modify, merge, publish, distribute, sublicense, and/or sell copies
8  * of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be
12  * included in all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
18  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21  * SOFTWARE.
22  *
23  * Authors:
24  * Evan Nemerson <evan@nemerson.com>
25  */
26 
27 #ifndef SQUASH_TYPES_H
28 #define SQUASH_TYPES_H
29 
30 #if !defined (SQUASH_H_INSIDE) && !defined (SQUASH_COMPILATION)
31 #error "Only <squash/squash.h> can be included directly."
32 #endif
33 
34 #include <stdarg.h>
35 
36 SQUASH_BEGIN_DECLS
37 
38 typedef struct _SquashObject SquashObject;
39 typedef struct _SquashOptions SquashOptions;
40 typedef struct _SquashStream SquashStream;
41 typedef struct _SquashContext SquashContext;
42 typedef struct _SquashCodec SquashCodec;
43 typedef struct _SquashCodecImpl SquashCodecImpl;
44 typedef struct _SquashPlugin SquashPlugin;
45 typedef struct _SquashFile SquashFile;
46 
47 SQUASH_END_DECLS
48 
49 #endif /* SQUASH_TYPES_H */
Function table for plugins.
Definition: codec.h:51
Compression/decompression streams.
Definition: stream.h:58
A compression/decompression codec.
Context for all Squash operations.
Reference-counting base class for other types.
Definition: object.h:45
A set of compression/decompression options.
Definition: options.h:46
A plugin.