summaryrefslogtreecommitdiffstats
path: root/xxhash.h
diff options
context:
space:
mode:
authoryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2013-05-17 18:41:32 (GMT)
committeryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2013-05-17 18:41:32 (GMT)
commite185b252f0c62a46929bb3fa3be4ab4d1d15d5d5 (patch)
treea692a7e61324b985c82ade938e2018270048dad9 /xxhash.h
parent40ae7043df0d78f91892d361b5e619b93c3c071d (diff)
downloadlz4-e185b252f0c62a46929bb3fa3be4ab4d1d15d5d5.zip
lz4-e185b252f0c62a46929bb3fa3be4ab4d1d15d5d5.tar.gz
lz4-e185b252f0c62a46929bb3fa3be4ab4d1d15d5d5.tar.bz2
lz4c : automatic output name when decoding a *.lz4 file, as requested by Peter Humphreys
Cleaner C99 detection, thanks to Elad Modified Basic Types, as recommended by Wayne Scott Simplified compression function Corrected : warning on missing #undef in lz4hc, thanks Arseny Kapoulkine Modified length loops as suggested by Wouter Vermaelen Modified pragma pack directive for older versions of GCC, as reported by Peter Costello Updated xxHash to r29 Indent lz4hc.c with spaces git-svn-id: https://lz4.googlecode.com/svn/trunk@95 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
Diffstat (limited to 'xxhash.h')
-rw-r--r--xxhash.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/xxhash.h b/xxhash.h
index c525e0b..afdf243 100644
--- a/xxhash.h
+++ b/xxhash.h
@@ -121,6 +121,18 @@ Memory will be freed by XXH32_digest().
*/
+int XXH32_sizeofState();
+XXH_errorcode XXH32_resetState(void* state_in, unsigned int seed);
+/*
+These functions are the basic elements of XXH32_init();
+The objective is to allow user application to make its own allocation.
+
+XXH32_sizeofState() is used to know how much space must be allocated by the application.
+This space must be referenced by a void* pointer.
+This pointer must be provided as 'state_in' into XXH32_resetState(), which initializes the state.
+*/
+
+
unsigned int XXH32_intermediateDigest (void* state);
/*
This function does the same as XXH32_digest(), generating a 32-bit hash,