]> pd.if.org Git - zpackage/blobdiff - lzma/common/filter_encoder.h
integrate lzma
[zpackage] / lzma / common / filter_encoder.h
diff --git a/lzma/common/filter_encoder.h b/lzma/common/filter_encoder.h
new file mode 100644 (file)
index 0000000..f1d5683
--- /dev/null
@@ -0,0 +1,27 @@
+///////////////////////////////////////////////////////////////////////////////
+//
+/// \file       filter_encoder.c
+/// \brief      Filter ID mapping to filter-specific functions
+//
+//  Author:     Lasse Collin
+//
+//  This file has been put into the public domain.
+//  You can do whatever you want with this file.
+//
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef LZMA_FILTER_ENCODER_H
+#define LZMA_FILTER_ENCODER_H
+
+#include "common.h"
+
+
+// FIXME: Might become a part of the public API.
+extern uint64_t lzma_mt_block_size(const lzma_filter *filters);
+
+
+extern lzma_ret lzma_raw_encoder_init(
+               lzma_next_coder *next, const lzma_allocator *allocator,
+               const lzma_filter *filters);
+
+#endif