Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
simple_private.h
Go to the documentation of this file.
1
2//
5//
6// Author: Lasse Collin
7//
8// This file has been put into the public domain.
9// You can do whatever you want with this file.
10//
12
13#ifndef LZMA_SIMPLE_PRIVATE_H
14#define LZMA_SIMPLE_PRIVATE_H
15
16#include "simple_coder.h"
17
18
19typedef struct {
21 lzma_next_coder next;
22
24 bool end_was_reached;
25
30 bool is_encoder;
31
34 size_t (*filter)(void *simple, uint32_t now_pos,
35 bool is_encoder, uint8_t *buffer, size_t size);
36
39 void *simple;
40
44 uint32_t now_pos;
45
47 size_t allocated;
48
51 size_t pos;
52
55 size_t filtered;
56
59 size_t size;
60
62 uint8_t buffer[];
64
65
69 size_t (*filter)(void *simple, uint32_t now_pos,
70 bool is_encoder, uint8_t *buffer, size_t size),
71 size_t simple_size, size_t unfiltered_max,
72 uint32_t alignment, bool is_encoder);
73
74#endif
Custom functions for memory handling.
Definition base.h:372
Definition common.h:177
Hold data and function pointers of the next filter in the chain.
Definition common.h:195
Definition simple_private.h:19
size_t size
Definition platform.h:559
lzma_ret
Return values used by several functions in liblzma.
Definition base.h:57
const lzma_allocator * allocator
Definition block.h:377
const lzma_filter * filters
Definition container.h:315
lzma_ret lzma_simple_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters, size_t(*filter)(void *simple, uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size), size_t simple_size, size_t unfiltered_max, uint32_t alignment, bool is_encoder)
Definition simple_coder.c:235
Wrapper for simple filters.
method_t const simple
Definition method.c:617