From cf49f42a6bd40143f54a6b10d6e605599e958c0b Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 22 Jan 2008 22:49:24 +0200 Subject: 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. --- src/liblzma/common/easy_common.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/liblzma/common/easy_common.h (limited to 'src/liblzma/common/easy_common.h') diff --git a/src/liblzma/common/easy_common.h b/src/liblzma/common/easy_common.h new file mode 100644 index 00000000..d864cce5 --- /dev/null +++ b/src/liblzma/common/easy_common.h @@ -0,0 +1,28 @@ +/////////////////////////////////////////////////////////////////////////////// +// +/// \file easy_common.c +/// \brief Shared stuff for easy encoder initialization functions +// +// Copyright (C) 2008 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. +// +/////////////////////////////////////////////////////////////////////////////// + +#include "common.h" + +#ifndef LZMA_EASY_COMMON_H +#define LZMA_EASY_COMMON_H + +extern bool lzma_easy_set_filters( + lzma_options_filter *filters, uint32_t level); + +#endif -- cgit v1.2.3