diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-21 18:30:09 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-21 18:30:09 +0000 |
commit | f1c22fe6f3a7218c67556d5468c34fac00b0ed7b (patch) | |
tree | e7324b99de468d9ba33e2811b097f3a45781b9ff /contrib/xxhash/xxhash.h | |
parent | ff4acb5109bb78fb2af867ec880ac8b8a4d3768b (diff) | |
download | rspamd-f1c22fe6f3a7218c67556d5468c34fac00b0ed7b.tar.gz rspamd-f1c22fe6f3a7218c67556d5468c34fac00b0ed7b.zip |
Add legacy XXH32_init.
Diffstat (limited to 'contrib/xxhash/xxhash.h')
-rw-r--r-- | contrib/xxhash/xxhash.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/xxhash/xxhash.h b/contrib/xxhash/xxhash.h index 55b45015a..4a41bfbf8 100644 --- a/contrib/xxhash/xxhash.h +++ b/contrib/xxhash/xxhash.h @@ -110,6 +110,12 @@ States must then be initialized using XXHnn_reset() before first use. If you prefer dynamic allocation, please refer to functions below. */ +/* + * !!! + * Rspamd specific: we use the legacy method to free state when digest is obtained + * !!! + */ +void * XXH32_init (unsigned seed); XXH32_state_t* XXH32_createState(void); XXH_errorcode XXH32_freeState(XXH32_state_t* statePtr); |