mirror of
https://github.com/google/brotli.git
synced 2025-01-16 11:14:12 +00:00
69982c25f1
* Declare `BUILD_SHARED_LIBS` option for CMake * Define `${LIB}_SHARED_COMPILATION` when compiling shared library * Define and use BROTLI_xxx_API * Fix remaining unprefixed defines in port.h
31 lines
833 B
C
31 lines
833 B
C
/* Copyright 2013 Google Inc. All Rights Reserved.
|
|
|
|
Distributed under MIT license.
|
|
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
/* Collection of static dictionary words. */
|
|
|
|
#ifndef BROTLI_COMMON_DICTIONARY_H_
|
|
#define BROTLI_COMMON_DICTIONARY_H_
|
|
|
|
#include <brotli/port.h>
|
|
#include <brotli/types.h>
|
|
|
|
#if defined(__cplusplus) || defined(c_plusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
BROTLI_COMMON_API extern const uint8_t kBrotliDictionary[122784];
|
|
BROTLI_COMMON_API extern const uint32_t kBrotliDictionaryOffsetsByLength[25];
|
|
BROTLI_COMMON_API extern const uint8_t kBrotliDictionarySizeBitsByLength[25];
|
|
|
|
#define kBrotliMinDictionaryWordLength 4
|
|
#define kBrotliMaxDictionaryWordLength 24
|
|
|
|
#if defined(__cplusplus) || defined(c_plusplus)
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* BROTLI_COMMON_DICTIONARY_H_ */
|