summaryrefslogtreecommitdiff
path: root/functable.h
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-02-25 14:36:56 -0800
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-05-24 13:53:25 +0200
commit9bd28d93813db93aa2fb1b14309cced1efe7d721 (patch)
treea1185fadcd53a5b8fe36e23ff748b7b118683dcb /functable.h
parent641491adedec68079d728728a1e9b2c76c2fae1d (diff)
Abstracted out architecture specific implementations of 258 byte comparison to compare258.
Diffstat (limited to 'functable.h')
-rw-r--r--functable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/functable.h b/functable.h
index a03c1e4..42881d5 100644
--- a/functable.h
+++ b/functable.h
@@ -14,6 +14,7 @@ struct functable_s {
uint32_t (* adler32) (uint32_t adler, const unsigned char *buf, size_t len);
uint32_t (* crc32) (uint32_t crc, const unsigned char *buf, uint64_t len);
void (* slide_hash) (deflate_state *s);
+ int32_t (* compare258) (const unsigned char *src0, const unsigned char *src1);
};
ZLIB_INTERNAL extern __thread struct functable_s functable;