mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
7d17818cec
specification. Simplify things by removing most of the support for known uncompressed size in most places. There are some miscellaneous changes here and there too. The API of liblzma has got many changes and still some more will be done soon. While most of the code has been updated, some things are not fixed (the command line tool will choke with invalid filter chain, if nothing else). Subblock filter is somewhat broken for now. It will be updated once the encoded format of the Subblock filter has been decided.
31 lines
1 KiB
C
31 lines
1 KiB
C
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
/// \file stream_common.h
|
|
/// \brief Common stuff for Stream coders
|
|
//
|
|
// Copyright (C) 2007 Lasse Collin
|
|
//
|
|
// This library is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
// License as published by the Free Software Foundation; either
|
|
// version 2.1 of the License, or (at your option) any later version.
|
|
//
|
|
// This library is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
// Lesser General Public License for more details.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef LZMA_STREAM_COMMON_H
|
|
#define LZMA_STREAM_COMMON_H
|
|
|
|
#include "common.h"
|
|
|
|
/// Size of the Stream Flags field
|
|
#define LZMA_STREAM_FLAGS_SIZE 2
|
|
|
|
extern const uint8_t lzma_header_magic[6];
|
|
extern const uint8_t lzma_footer_magic[2];
|
|
|
|
#endif
|