diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-22 22:49:24 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-22 22:49:24 +0200 |
commit | cf49f42a6bd40143f54a6b10d6e605599e958c0b (patch) | |
tree | 39cb9334863b938b34e208c2d89072dd447432cb /src/liblzma/common/stream_encoder_multi.h | |
parent | Fix Multi-Block Stream encoder's EOPM usage. (diff) | |
download | xz-cf49f42a6bd40143f54a6b10d6e605599e958c0b.tar.xz |
Added lzma_easy_* functions. These should make using
liblzma as easy as using zlib, because the easy API
don't require developers to know any fancy LZMA options.
Note that Multi-Block Stream encoding is currently broken.
The easy API should be OK, the bug(s) are elsewhere.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/common/stream_encoder_multi.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/liblzma/common/stream_encoder_multi.h b/src/liblzma/common/stream_encoder_multi.h new file mode 100644 index 00000000..e0ff02f3 --- /dev/null +++ b/src/liblzma/common/stream_encoder_multi.h @@ -0,0 +1,26 @@ +/////////////////////////////////////////////////////////////////////////////// +// +/// \file stream_encoder_multi.h +/// \brief Encodes Multi-Block .lzma files +// +// Copyright (C) 2007 Lasse Collin +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +/////////////////////////////////////////////////////////////////////////////// + +#ifndef LZMA_STREAM_ENCODER_MULTI_H +#define LZMA_STREAM_ENCODER_MULTI_H + +extern lzma_ret lzma_stream_encoder_multi_init(lzma_next_coder *next, + lzma_allocator *allocator, const lzma_options_stream *options); + +#endif |