summaryrefslogtreecommitdiffstats
path: root/modules/brotli/enc/dictionary_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/brotli/enc/dictionary_hash.h')
-rw-r--r--modules/brotli/enc/dictionary_hash.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/brotli/enc/dictionary_hash.h b/modules/brotli/enc/dictionary_hash.h
new file mode 100644
index 000000000..b3bb9599f
--- /dev/null
+++ b/modules/brotli/enc/dictionary_hash.h
@@ -0,0 +1,24 @@
+/* Copyright 2015 Google Inc. All Rights Reserved.
+
+ Distributed under MIT license.
+ See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
+*/
+
+/* Hash table on the 4-byte prefixes of static dictionary words. */
+
+#ifndef BROTLI_ENC_DICTIONARY_HASH_H_
+#define BROTLI_ENC_DICTIONARY_HASH_H_
+
+#include <brotli/types.h>
+
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
+
+extern const uint16_t kStaticDictionaryHash[32768];
+
+#if defined(__cplusplus) || defined(c_plusplus)
+} /* extern "C" */
+#endif
+
+#endif /* BROTLI_ENC_DICTIONARY_HASH_H_ */