diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2017-03-30 20:03:05 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2017-03-30 20:03:05 +0300 |
commit | 310d19816d1652b0c8bb1b82574d46345d924752 (patch) | |
tree | 85c9e5273406e4bd4444c5e96dd990209a730a36 /src/liblzma/common/index_decoder.h | |
parent | liblzma: Add generic support for input seeking (LZMA_SEEK). (diff) | |
download | xz-310d19816d1652b0c8bb1b82574d46345d924752.tar.xz |
liblzma: Make lzma_index_decoder_init() visible to other liblzma funcs.
This is to allow other functions to use it without going
via the public API (lzma_index_decoder()).
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/common/index_decoder.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/liblzma/common/index_decoder.h b/src/liblzma/common/index_decoder.h new file mode 100644 index 00000000..1af433b5 --- /dev/null +++ b/src/liblzma/common/index_decoder.h @@ -0,0 +1,24 @@ +/////////////////////////////////////////////////////////////////////////////// +// +/// \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 "index.h" + + +extern lzma_ret lzma_index_decoder_init(lzma_next_coder *next, + const lzma_allocator *allocator, + lzma_index **i, uint64_t memlimit); + + +#endif |