diff options
author | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2013-05-17 18:41:32 (GMT) |
---|---|---|
committer | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2013-05-17 18:41:32 (GMT) |
commit | e185b252f0c62a46929bb3fa3be4ab4d1d15d5d5 (patch) | |
tree | a692a7e61324b985c82ade938e2018270048dad9 /xxhash.h | |
parent | 40ae7043df0d78f91892d361b5e619b93c3c071d (diff) | |
download | lz4-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.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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,
|