]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/filter_encoder.h
552012584ad8bc04f2303e5ef7d9bbd84ee5d937
[icculus/xz.git] / src / liblzma / common / filter_encoder.h
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       filter_encoder.c
4 /// \brief      Filter ID mapping to filter-specific functions
5 //
6 //  Copyright (C) 2008 Lasse Collin
7 //
8 //  This library is free software; you can redistribute it and/or
9 //  modify it under the terms of the GNU Lesser General Public
10 //  License as published by the Free Software Foundation; either
11 //  version 2.1 of the License, or (at your option) any later version.
12 //
13 //  This library is distributed in the hope that it will be useful,
14 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 //  Lesser General Public License for more details.
17 //
18 ///////////////////////////////////////////////////////////////////////////////
19
20 #ifndef LZMA_FILTER_ENCODER_H
21 #define LZMA_FILTER_ENCODER_H
22
23 #include "common.h"
24
25
26 // FIXME !!! Public API
27 extern lzma_vli lzma_chunk_size(const lzma_filter *filters);
28
29
30 extern lzma_ret lzma_raw_encoder_init(
31                 lzma_next_coder *next, lzma_allocator *allocator,
32                 const lzma_filter *options);
33
34 #endif