summaryrefslogtreecommitdiff
path: root/libs/brotli/enc/dictionary_hash.h
diff options
context:
space:
mode:
authorJeremy Andrews <athenian200@outlook.com>2021-09-25 16:10:41 -0500
committerJeremy Andrews <athenian200@outlook.com>2021-09-25 16:10:41 -0500
commita9c2b6e7e713332cf3ecd4d6ffcb39216020211c (patch)
treeba24d534d5a7754a2f65b2a4e4b19b20540cde79 /libs/brotli/enc/dictionary_hash.h
parent766927f74185dc18d4cd18abff173d13aa3ad9a1 (diff)
downloadaura-central-a9c2b6e7e713332cf3ecd4d6ffcb39216020211c.tar.gz
Issue %3003 - Move brotli to libs/
Diffstat (limited to 'libs/brotli/enc/dictionary_hash.h')
-rw-r--r--libs/brotli/enc/dictionary_hash.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/libs/brotli/enc/dictionary_hash.h b/libs/brotli/enc/dictionary_hash.h
new file mode 100644
index 000000000..e553ea5d4
--- /dev/null
+++ b/libs/brotli/enc/dictionary_hash.h
@@ -0,0 +1,25 @@
+/* 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 kStaticDictionaryHashWords[32768];
+extern const uint8_t kStaticDictionaryHashLengths[32768];
+
+#if defined(__cplusplus) || defined(c_plusplus)
+} /* extern "C" */
+#endif
+
+#endif /* BROTLI_ENC_DICTIONARY_HASH_H_ */