libsqsh v1.5.1
Loading...
Searching...
No Matches
sqsh_data.h File Reference
#include "sqsh_common.h"
Include dependency graph for sqsh_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  SqshSuperblockCompressionId {
  SQSH_COMPRESSION_GZIP = 1 , SQSH_COMPRESSION_LZMA = 2 , SQSH_COMPRESSION_LZO = 3 , SQSH_COMPRESSION_XZ = 4 ,
  SQSH_COMPRESSION_LZ4 = 5 , SQSH_COMPRESSION_ZSTD = 6
}
 The compression used in the archive. More...
 
enum  SqshSuperblockFlags {
  SQSH_SUPERBLOCK_UNCOMPRESSED_INODES = 0x0001 , SQSH_SUPERBLOCK_UNCOMPRESSED_DATA = 0x0002 , SQSH_SUPERBLOCK_CHECK = 0x0004 , SQSH_SUPERBLOCK_UNCOMPRESSED_FRAGMENTS = 0x0008 ,
  SQSH_SUPERBLOCK_NO_FRAGMENTS = 0x0010 , SQSH_SUPERBLOCK_ALWAYS_FRAGMENTS = 0x0020 , SQSH_SUPERBLOCK_DUPLICATES = 0x0040 , SQSH_SUPERBLOCK_EXPORTABLE = 0x0080 ,
  SQSH_SUPERBLOCK_UNCOMPRESSED_XATTRS = 0x0100 , SQSH_SUPERBLOCK_NO_XATTRS = 0x0200 , SQSH_SUPERBLOCK_COMPRESSOR_OPTIONS = 0x0400 , SQSH_SUPERBLOCK_UNCOMPRESSED_IDS = 0x0800
}
 The flags used in the superblock. More...
 
enum  SqshGzipStrategies {
  SQSH_GZIP_STRATEGY_NONE = 0x0 , SQSH_GZIP_STRATEGY_DEFAULT = 0x0001 , SQSH_GZIP_STRATEGY_FILTERED = 0x0002 , SQSH_GZIP_STRATEGY_HUFFMAN_ONLY = 0x0004 ,
  SQSH_GZIP_STRATEGY_RLE = 0x0008 , SQSH_GZIP_STRATEGY_FIXED = 0x0010
}
 definitions of gzip strategies More...
 
enum  SqshXzFilters {
  SQSH_XZ_FILTER_NONE = 0x0 , SQSH_XZ_FILTER_X86 = 0x0001 , SQSH_XZ_FILTER_POWERPC = 0x0002 , SQSH_XZ_FILTER_IA64 = 0x0004 ,
  SQSH_XZ_FILTER_ARM = 0x0008 , SQSH_XZ_FILTER_ARMTHUMB = 0x0010 , SQSH_XZ_FILTER_SPARC = 0x0020
}
 definitions xz filters More...
 
enum  SqshLz4Flags { SQS_LZ4_FLAG_NONE = 0x0 , SQSH_LZ4_HIGH_COMPRESSION = 0x0001 }
 definitions of lz4 flags More...
 
enum  SqshLzoAlgorithm {
  SQSH_LZO_ALGORITHM_LZO1X_1 = 0x0000 , SQSH_LZO_ALGORITHM_LZO1X_1_11 = 0x0001 , SQSH_LZO_ALGORITHM_LZO1X_1_12 = 0x0002 , SQSH_LZO_ALGORITHM_LZO1X_1_15 = 0x0003 ,
  SQSH_LZO_ALGORITHM_LZO1X_999 = 0x0004
}
 definitions of Lzo algorithms More...
 
enum  SqshXattrType { SQSH_XATTR_USER = 0 , SQSH_XATTR_TRUSTED = 1 , SQSH_XATTR_SECURITY = 2 }
 The type of an external attribute. More...
 

Detailed Description

Author
Enno Boland (mail@.nosp@m.ebol.nosp@m.and.d.nosp@m.e)

Definition in file sqsh_data.h.

Enumeration Type Documentation

◆ SqshGzipStrategies

definitions of gzip strategies

Enumerator
SQSH_GZIP_STRATEGY_NONE 
SQSH_GZIP_STRATEGY_DEFAULT 
SQSH_GZIP_STRATEGY_FILTERED 
SQSH_GZIP_STRATEGY_HUFFMAN_ONLY 
SQSH_GZIP_STRATEGY_RLE 
SQSH_GZIP_STRATEGY_FIXED 

Definition at line 84 of file sqsh_data.h.

◆ SqshLz4Flags

definitions of lz4 flags

Enumerator
SQS_LZ4_FLAG_NONE 
SQSH_LZ4_HIGH_COMPRESSION 

Definition at line 109 of file sqsh_data.h.

◆ SqshLzoAlgorithm

definitions of Lzo algorithms

Enumerator
SQSH_LZO_ALGORITHM_LZO1X_1 
SQSH_LZO_ALGORITHM_LZO1X_1_11 
SQSH_LZO_ALGORITHM_LZO1X_1_12 
SQSH_LZO_ALGORITHM_LZO1X_1_15 
SQSH_LZO_ALGORITHM_LZO1X_999 

Definition at line 117 of file sqsh_data.h.

◆ SqshSuperblockCompressionId

The compression used in the archive.

Enumerator
SQSH_COMPRESSION_GZIP 
SQSH_COMPRESSION_LZMA 
SQSH_COMPRESSION_LZO 
SQSH_COMPRESSION_XZ 
SQSH_COMPRESSION_LZ4 
SQSH_COMPRESSION_ZSTD 

Definition at line 50 of file sqsh_data.h.

◆ SqshSuperblockFlags

The flags used in the superblock.

Enumerator
SQSH_SUPERBLOCK_UNCOMPRESSED_INODES 
SQSH_SUPERBLOCK_UNCOMPRESSED_DATA 
SQSH_SUPERBLOCK_CHECK 
SQSH_SUPERBLOCK_UNCOMPRESSED_FRAGMENTS 
SQSH_SUPERBLOCK_NO_FRAGMENTS 
SQSH_SUPERBLOCK_ALWAYS_FRAGMENTS 
SQSH_SUPERBLOCK_DUPLICATES 
SQSH_SUPERBLOCK_EXPORTABLE 
SQSH_SUPERBLOCK_UNCOMPRESSED_XATTRS 
SQSH_SUPERBLOCK_NO_XATTRS 
SQSH_SUPERBLOCK_COMPRESSOR_OPTIONS 
SQSH_SUPERBLOCK_UNCOMPRESSED_IDS 

Definition at line 62 of file sqsh_data.h.

◆ SqshXattrType

The type of an external attribute.

Enumerator
SQSH_XATTR_USER 
SQSH_XATTR_TRUSTED 
SQSH_XATTR_SECURITY 

Definition at line 132 of file sqsh_data.h.

◆ SqshXzFilters

definitions xz filters

Enumerator
SQSH_XZ_FILTER_NONE 
SQSH_XZ_FILTER_X86 
SQSH_XZ_FILTER_POWERPC 
SQSH_XZ_FILTER_IA64 
SQSH_XZ_FILTER_ARM 
SQSH_XZ_FILTER_ARMTHUMB 
SQSH_XZ_FILTER_SPARC 

Definition at line 96 of file sqsh_data.h.