mirror of
https://git.tukaani.org/xz.git
synced 2025-09-28 13:28:23 +00:00
common/index.h is needed by liblzma internally and tests. common.h will include and define many things that are not needed by the tests. Also, this prevents include order problems because both common.h and lzma.h define LZMA_API. On most platforms it results only in a warning but on Windows it would break the build as the definition in common.h must be used only for building liblzma itself.
26 lines
619 B
C
26 lines
619 B
C
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
/// \file index_decoder.h
|
|
/// \brief Decodes 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_DECODER_H
|
|
#define LZMA_INDEX_DECODER_H
|
|
|
|
#include "common.h"
|
|
#include "index.h"
|
|
|
|
|
|
extern lzma_ret lzma_index_decoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
lzma_index **i, uint64_t memlimit);
|
|
|
|
|
|
#endif
|