libsqsh v1.5.1
Loading...
Searching...
No Matches
sqsh_data.h
Go to the documentation of this file.
1/******************************************************************************
2 * *
3 * Copyright (c) 2023-2024, Enno Boland <g@s01.de> *
4 * *
5 * Redistribution and use in source and binary forms, with or without *
6 * modification, are permitted provided that the following conditions are *
7 * met: *
8 * *
9 * * Redistributions of source code must retain the above copyright notice, *
10 * this list of conditions and the following disclaimer. *
11 * * Redistributions in binary form must reproduce the above copyright *
12 * notice, this list of conditions and the following disclaimer in the *
13 * documentation and/or other materials provided with the distribution. *
14 * *
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS *
16 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, *
17 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR *
18 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR *
19 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
20 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR *
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
23 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING *
24 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS *
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
26 * *
27 ******************************************************************************/
28
34#ifndef SQSH_DATA_H
35#define SQSH_DATA_H
36
37#include "sqsh_common.h"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43/***************************************
44 * data/superblock_data.c
45 */
46
58
76
77/***************************************
78 * data/compression_options_data.c
79 */
80
92
105
113
124
125/***************************************
126 * data/xattr_data.c
127 */
128
137
138#ifdef __cplusplus
139}
140#endif
141#endif /* SQSH_DATA_H */
SqshLzoAlgorithm
definitions of Lzo algorithms
Definition sqsh_data.h:117
@ SQSH_LZO_ALGORITHM_LZO1X_1_11
Definition sqsh_data.h:119
@ SQSH_LZO_ALGORITHM_LZO1X_1_12
Definition sqsh_data.h:120
@ SQSH_LZO_ALGORITHM_LZO1X_1_15
Definition sqsh_data.h:121
@ SQSH_LZO_ALGORITHM_LZO1X_999
Definition sqsh_data.h:122
@ SQSH_LZO_ALGORITHM_LZO1X_1
Definition sqsh_data.h:118
SqshGzipStrategies
definitions of gzip strategies
Definition sqsh_data.h:84
@ SQSH_GZIP_STRATEGY_FILTERED
Definition sqsh_data.h:87
@ SQSH_GZIP_STRATEGY_RLE
Definition sqsh_data.h:89
@ SQSH_GZIP_STRATEGY_NONE
Definition sqsh_data.h:85
@ SQSH_GZIP_STRATEGY_DEFAULT
Definition sqsh_data.h:86
@ SQSH_GZIP_STRATEGY_FIXED
Definition sqsh_data.h:90
@ SQSH_GZIP_STRATEGY_HUFFMAN_ONLY
Definition sqsh_data.h:88
SqshXzFilters
definitions xz filters
Definition sqsh_data.h:96
@ SQSH_XZ_FILTER_X86
Definition sqsh_data.h:98
@ SQSH_XZ_FILTER_ARMTHUMB
Definition sqsh_data.h:102
@ SQSH_XZ_FILTER_ARM
Definition sqsh_data.h:101
@ SQSH_XZ_FILTER_IA64
Definition sqsh_data.h:100
@ SQSH_XZ_FILTER_POWERPC
Definition sqsh_data.h:99
@ SQSH_XZ_FILTER_SPARC
Definition sqsh_data.h:103
@ SQSH_XZ_FILTER_NONE
Definition sqsh_data.h:97
SqshLz4Flags
definitions of lz4 flags
Definition sqsh_data.h:109
@ SQSH_LZ4_HIGH_COMPRESSION
Definition sqsh_data.h:111
@ SQS_LZ4_FLAG_NONE
Definition sqsh_data.h:110
SqshSuperblockCompressionId
The compression used in the archive.
Definition sqsh_data.h:50
@ SQSH_COMPRESSION_LZO
Definition sqsh_data.h:53
@ SQSH_COMPRESSION_LZMA
Definition sqsh_data.h:52
@ SQSH_COMPRESSION_XZ
Definition sqsh_data.h:54
@ SQSH_COMPRESSION_GZIP
Definition sqsh_data.h:51
@ SQSH_COMPRESSION_LZ4
Definition sqsh_data.h:55
@ SQSH_COMPRESSION_ZSTD
Definition sqsh_data.h:56
SqshSuperblockFlags
The flags used in the superblock.
Definition sqsh_data.h:62
@ SQSH_SUPERBLOCK_NO_XATTRS
Definition sqsh_data.h:72
@ SQSH_SUPERBLOCK_UNCOMPRESSED_FRAGMENTS
Definition sqsh_data.h:66
@ SQSH_SUPERBLOCK_UNCOMPRESSED_INODES
Definition sqsh_data.h:63
@ SQSH_SUPERBLOCK_EXPORTABLE
Definition sqsh_data.h:70
@ SQSH_SUPERBLOCK_UNCOMPRESSED_XATTRS
Definition sqsh_data.h:71
@ SQSH_SUPERBLOCK_UNCOMPRESSED_DATA
Definition sqsh_data.h:64
@ SQSH_SUPERBLOCK_COMPRESSOR_OPTIONS
Definition sqsh_data.h:73
@ SQSH_SUPERBLOCK_CHECK
Definition sqsh_data.h:65
@ SQSH_SUPERBLOCK_NO_FRAGMENTS
Definition sqsh_data.h:67
@ SQSH_SUPERBLOCK_UNCOMPRESSED_IDS
Definition sqsh_data.h:74
@ SQSH_SUPERBLOCK_DUPLICATES
Definition sqsh_data.h:69
@ SQSH_SUPERBLOCK_ALWAYS_FRAGMENTS
Definition sqsh_data.h:68
SqshXattrType
The type of an external attribute.
Definition sqsh_data.h:132
@ SQSH_XATTR_SECURITY
Definition sqsh_data.h:135
@ SQSH_XATTR_TRUSTED
Definition sqsh_data.h:134
@ SQSH_XATTR_USER
Definition sqsh_data.h:133