diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-09-28 18:43:30 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-09-28 18:43:30 +0200 |
commit | d267d86f6e24c4f947c30c1a3642d57b82f8addd (patch) | |
tree | a0c0cc7ced7f8d38ea5c12108ded83c762fba2f9 /depends/lzma/include/decompress.h | |
parent | d903b0f0ea4bbeb6a20771575295ea28795dc5d7 (diff) | |
download | MultiMC-d267d86f6e24c4f947c30c1a3642d57b82f8addd.tar MultiMC-d267d86f6e24c4f947c30c1a3642d57b82f8addd.tar.gz MultiMC-d267d86f6e24c4f947c30c1a3642d57b82f8addd.tar.lz MultiMC-d267d86f6e24c4f947c30c1a3642d57b82f8addd.tar.xz MultiMC-d267d86f6e24c4f947c30c1a3642d57b82f8addd.zip |
Replace lzma with xz. Tweaks to fix debug builds.
Diffstat (limited to 'depends/lzma/include/decompress.h')
-rw-r--r-- | depends/lzma/include/decompress.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/depends/lzma/include/decompress.h b/depends/lzma/include/decompress.h deleted file mode 100644 index cb10b2ba..00000000 --- a/depends/lzma/include/decompress.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Written in 2009 by Lloyd Hilaiel - * - * License - * - * All the cruft you find here is public domain. You don't have to credit - * anyone to use this code, but my personal request is that you mention - * Igor Pavlov for his hard, high quality work. - * - * easylzma/decompress.h - The API for LZMA decompression using easylzma - */ - -#pragma once - -#include "include/common.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** an opaque handle to an lzma decompressor */ -typedef struct _elzma_decompress_handle *elzma_decompress_handle; - -/** - * Allocate a handle to an LZMA decompressor object. - */ -elzma_decompress_handle EASYLZMA_API elzma_decompress_alloc(); - -/** - * set allocation routines (optional, if not called malloc & free will - * be used) - */ -void EASYLZMA_API -elzma_decompress_set_allocation_callbacks(elzma_decompress_handle hand, elzma_malloc mallocFunc, - void *mallocFuncContext, elzma_free freeFunc, - void *freeFuncContext); - -/** - * Free all data associated with an LZMA decompressor object. - */ -void EASYLZMA_API elzma_decompress_free(elzma_decompress_handle *hand); - -/** - * Perform decompression - * - * XXX: should the library automatically detect format by reading stream? - * currently it's based on data external to stream (such as extension - * or convention) - */ -int EASYLZMA_API elzma_decompress_run(elzma_decompress_handle hand, - elzma_read_callback inputStream, void *inputContext, - elzma_write_callback outputStream, void *outputContext, - elzma_file_format format); - -#ifdef __cplusplus -} -; -#endif |