mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
- liblzma source code added (we don't want to use a DLL) - Moved lzma.h and lzma subfolder to api subfolder - Removed some unnecessary files (liblzma.def, lzma_dll.txt) - Adjusted make.bat, added some "echo" statements to show build state. - Can be compiled, but using "-cl" or "-cx" give errors (specified filter chain is not supported), "-cm" gives a crash
72 lines
2.1 KiB
C
72 lines
2.1 KiB
C
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
/// \file simple_coder.h
|
|
/// \brief Wrapper for simple filters
|
|
//
|
|
// Author: Lasse Collin
|
|
//
|
|
// This file has been put into the public domain.
|
|
// You can do whatever you want with this file.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef LZMA_SIMPLE_CODER_H
|
|
#define LZMA_SIMPLE_CODER_H
|
|
|
|
#include "common.h"
|
|
|
|
|
|
extern lzma_ret lzma_simple_x86_encoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
extern lzma_ret lzma_simple_x86_decoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
|
|
extern lzma_ret lzma_simple_powerpc_encoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
extern lzma_ret lzma_simple_powerpc_decoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
|
|
extern lzma_ret lzma_simple_ia64_encoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
extern lzma_ret lzma_simple_ia64_decoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
|
|
extern lzma_ret lzma_simple_arm_encoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
extern lzma_ret lzma_simple_arm_decoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
|
|
extern lzma_ret lzma_simple_armthumb_encoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
extern lzma_ret lzma_simple_armthumb_decoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
|
|
extern lzma_ret lzma_simple_sparc_encoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
extern lzma_ret lzma_simple_sparc_decoder_init(lzma_next_coder *next,
|
|
const lzma_allocator *allocator,
|
|
const lzma_filter_info *filters);
|
|
|
|
#endif
|