Update some structs for future features.

This commit is contained in:
Markus F.X.J. Oberhumer 2006-06-29 06:42:17 +02:00
parent 930f07d15e
commit 0d80173efd
2 changed files with 18 additions and 0 deletions

View File

@ -199,18 +199,29 @@ typedef void (__acc_cdecl *upx_progress_func_t)
struct upx_callback_t
{
#if 0
upx_alloc_func_t nalloc;
upx_free_func_t nfree;
#endif
upx_progress_func_t nprogress;
void * user1;
#if 0
unsigned user2;
unsigned user3;
#endif
};
struct lzma_compress_config_t
{
unsigned max_num_probs;
#if 0
unsigned pos_bits; // pb
unsigned lit_pos_bits; // lp
unsigned lit_context_bits; // lc
unsigned dict_size;
unsigned mf_passes;
#endif
void reset() { memset(this, 0, sizeof(*this)); }
};

View File

@ -86,6 +86,13 @@ struct options_t {
// compression runtime parameters - see struct ucl_compress_config_t
struct crp_lzma_t {
int dummy;
#if 0
unsigned pos_bits; // pb
unsigned lit_pos_bits; // lp
unsigned lit_context_bits; // lc
unsigned dict_size;
unsigned mf_passes;
#endif
void reset() { memset(this, 0, sizeof(*this)); }
};
struct crp_ucl_t {