| Yann Collet | 88fcd29 | 2015-11-25 14:42:45 +0100 | [diff] [blame] | 1 | /* |
| 2 | zstd - buffered version of compression library |
| 3 | experimental complementary API, for static linking only |
| 4 | Copyright (C) 2015, Yann Collet. |
| 5 | |
| 6 | BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) |
| 7 | |
| 8 | Redistribution and use in source and binary forms, with or without |
| 9 | modification, are permitted provided that the following conditions are |
| 10 | met: |
| 11 | * Redistributions of source code must retain the above copyright |
| 12 | notice, this list of conditions and the following disclaimer. |
| 13 | * Redistributions in binary form must reproduce the above |
| 14 | copyright notice, this list of conditions and the following disclaimer |
| 15 | in the documentation and/or other materials provided with the |
| 16 | distribution. |
| 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | |
| 29 | You can contact the author at : |
| 30 | - zstd source repository : https://github.com/Cyan4973/zstd |
| 31 | - ztsd public forum : https://groups.google.com/forum/#!forum/lz4c |
| 32 | */ |
| 33 | #ifndef ZSTD_BUFFERED_STATIC_H |
| 34 | #define ZSTD_BUFFERED_STATIC_H |
| 35 | |
| 36 | /* The objects defined into this file should be considered experimental. |
| 37 | * They are not labelled stable, as their prototype may change in the future. |
| 38 | * You can use them for tests, provide feedback, or if you can endure risk of future changes. |
| 39 | */ |
| 40 | |
| 41 | #if defined (__cplusplus) |
| 42 | extern "C" { |
| 43 | #endif |
| 44 | |
| 45 | /* ************************************* |
| 46 | * Includes |
| 47 | ***************************************/ |
| Yann Collet | 1c8e194 | 2016-01-26 16:31:22 +0100 | [diff] [blame^] | 48 | #include "zstd_static.h" /* ZSTD_parameters */ |
| Yann Collet | 88fcd29 | 2015-11-25 14:42:45 +0100 | [diff] [blame] | 49 | #include "zstd_buffered.h" |
| 50 | |
| 51 | |
| 52 | /* ************************************* |
| 53 | * Advanced Streaming functions |
| 54 | ***************************************/ |
| Yann Collet | 1c8e194 | 2016-01-26 16:31:22 +0100 | [diff] [blame^] | 55 | ZSTDLIB_API size_t ZBUFF_compressInit_advanced(ZBUFF_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_parameters params); |
| Yann Collet | 88fcd29 | 2015-11-25 14:42:45 +0100 | [diff] [blame] | 56 | |
| 57 | |
| 58 | #if defined (__cplusplus) |
| 59 | } |
| 60 | #endif |
| 61 | |
| 62 | #endif /* ZSTD_BUFFERED_STATIC_H */ |