summaryrefslogtreecommitdiff
path: root/doc/educational_decoder/zstd_decompress.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc/educational_decoder/zstd_decompress.h')
-rw-r--r--doc/educational_decoder/zstd_decompress.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/educational_decoder/zstd_decompress.h b/doc/educational_decoder/zstd_decompress.h
new file mode 100644
index 0000000000000..16f4da3eb92e7
--- /dev/null
+++ b/doc/educational_decoder/zstd_decompress.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2017-present, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under the BSD-style license found in the
+ * LICENSE file in the root directory of this source tree. An additional grant
+ * of patent rights can be found in the PATENTS file in the same directory.
+ */
+
+size_t ZSTD_decompress(void *const dst, const size_t dst_len,
+ const void *const src, const size_t src_len);
+size_t ZSTD_decompress_with_dict(void *const dst, const size_t dst_len,
+ const void *const src, const size_t src_len,
+ const void *const dict, const size_t dict_len);
+size_t ZSTD_get_decompressed_size(const void *const src, const size_t src_len);
+