diff options
Diffstat (limited to 'ext/hash/php_hash.h')
-rw-r--r-- | ext/hash/php_hash.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/hash/php_hash.h b/ext/hash/php_hash.h index 33cc6a473a..6bea4bebd4 100644 --- a/ext/hash/php_hash.h +++ b/ext/hash/php_hash.h @@ -31,7 +31,7 @@ typedef struct _php_hashcontext_object php_hashcontext_object; -typedef void (*php_hash_init_func_t)(void *context); +typedef void (*php_hash_init_func_t)(void *context, HashTable *args); typedef void (*php_hash_update_func_t)(void *context, const unsigned char *buf, size_t count); typedef void (*php_hash_final_func_t)(unsigned char *digest, void *context); typedef int (*php_hash_copy_func_t)(const void *ops, void *orig_context, void *dest_context); @@ -105,6 +105,13 @@ extern const php_hash_ops php_hash_fnv1a32_ops; extern const php_hash_ops php_hash_fnv164_ops; extern const php_hash_ops php_hash_fnv1a64_ops; extern const php_hash_ops php_hash_joaat_ops; +extern const php_hash_ops php_hash_murmur3a_ops; +extern const php_hash_ops php_hash_murmur3c_ops; +extern const php_hash_ops php_hash_murmur3f_ops; +extern const php_hash_ops php_hash_xxh32_ops; +extern const php_hash_ops php_hash_xxh64_ops; +extern const php_hash_ops php_hash_xxh3_64_ops; +extern const php_hash_ops php_hash_xxh3_128_ops; #define PHP_HASH_HAVAL_OPS(p,b) extern const php_hash_ops php_hash_##p##haval##b##_ops; |