mirror of
https://git.tukaani.org/xz.git
synced 2025-10-21 00:22:57 +00:00
This breaks API and ABI but most apps are not affected since most apps don't use this part of the API. You will get a compile error if you are using anything that got broken. Summary of changes: - Ability to store Stream Flags, which are needed for random-access reading in multi-Stream files. - Separate function to set size of Stream Padding. - Iterator structure makes it possible to read the same lzma_index from multiple threads at the same time. - A lot faster code to locate Blocks. - Removed lzma_index_equal() without adding anything to replace it. I don't know what it should do exactly with the new features and what actually needs this function in the first place other than test_index.c, which now has its own code to compare lzma_indexes.
24 lines
578 B
C
24 lines
578 B
C
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
/// \file index_encoder.h
|
|
/// \brief Encodes the Index field
|
|
//
|
|
// Author: Lasse Collin
|
|
//
|
|
// This file has been put into the public domain.
|
|
// You can do whatever you want with this file.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef LZMA_INDEX_ENCODER_H
|
|
#define LZMA_INDEX_ENCODER_H
|
|
|
|
#include "common.h"
|
|
|
|
|
|
extern lzma_ret lzma_index_encoder_init(lzma_next_coder *next,
|
|
lzma_allocator *allocator, const lzma_index *i);
|
|
|
|
|
|
#endif
|