summaryrefslogtreecommitdiff
path: root/ext/hash/php_hash_crc32.h
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-04-21 15:37:46 +0000
committerAntony Dovgal <tony2001@php.net>2008-04-21 15:37:46 +0000
commit7c98e674b59ae0bd2a2b146d34df2a4c176cfa14 (patch)
tree9aa562ffa4ec1f45636a034006f86916f9952364 /ext/hash/php_hash_crc32.h
parent30437c12411a2ee8d6966d1a8197bd48847f3036 (diff)
downloadphp-git-7c98e674b59ae0bd2a2b146d34df2a4c176cfa14.tar.gz
[DOC] add hash_copy() to be able to copy hash resource
Diffstat (limited to 'ext/hash/php_hash_crc32.h')
-rw-r--r--ext/hash/php_hash_crc32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/hash/php_hash_crc32.h b/ext/hash/php_hash_crc32.h
index 35234969c3..052df87a8b 100644
--- a/ext/hash/php_hash_crc32.h
+++ b/ext/hash/php_hash_crc32.h
@@ -31,6 +31,7 @@ PHP_HASH_API void PHP_CRC32Init(PHP_CRC32_CTX *context);
PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
PHP_HASH_API void PHP_CRC32Final(unsigned char digest[4], PHP_CRC32_CTX *context);
+PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX *copy_context);
#endif