diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-03-06 16:26:40 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-03-06 16:26:40 +0300 |
commit | 53d8e5fc6393b8433ca96c6a4f60f2d7571e757a (patch) | |
tree | 9a7b51198130893ceef9a8d3f6eab1b067d7e753 /ext/opcache/zend_accelerator_hash.h | |
parent | 1236a30746119c3c99754c6c639a134d0e6318d6 (diff) | |
download | php-git-53d8e5fc6393b8433ca96c6a4f60f2d7571e757a.tar.gz |
Improved hash key manangement code
Diffstat (limited to 'ext/opcache/zend_accelerator_hash.h')
-rw-r--r-- | ext/opcache/zend_accelerator_hash.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/opcache/zend_accelerator_hash.h b/ext/opcache/zend_accelerator_hash.h index 1e6654d418..4e8d7242f4 100644 --- a/ext/opcache/zend_accelerator_hash.h +++ b/ext/opcache/zend_accelerator_hash.h @@ -73,10 +73,18 @@ zend_accel_hash_entry* zend_accel_hash_update( void* zend_accel_hash_find( zend_accel_hash *accel_hash, + zend_string *key); + +zend_accel_hash_entry* zend_accel_hash_find_entry( + zend_accel_hash *accel_hash, + zend_string *key); + +void* zend_accel_hash_str_find( + zend_accel_hash *accel_hash, char *key, uint32_t key_length); -zend_accel_hash_entry* zend_accel_hash_find_entry( +zend_accel_hash_entry* zend_accel_hash_str_find_entry( zend_accel_hash *accel_hash, char *key, uint32_t key_length); |