]> granicus.if.org Git - php/commitdiff
add declarations
authorAntony Dovgal <tony2001@php.net>
Sat, 3 Dec 2005 23:49:52 +0000 (23:49 +0000)
committerAntony Dovgal <tony2001@php.net>
Sat, 3 Dec 2005 23:49:52 +0000 (23:49 +0000)
more uint -> size_t fixes

ext/hash/php_hash.h
ext/hash/php_hash_salsa.h
ext/hash/php_hash_snefru.h
ext/hash/php_hash_whirlpool.h

index 8a6ed4d5e27b0772e1ae46627836175de81a1ac4..52a3d16984de4f4b5ca0ec281155261376b6e2a1 100644 (file)
@@ -106,6 +106,17 @@ extern zend_module_entry hash_module_entry;
 #include "TSRM.h"
 #endif
 
+PHP_FUNCTION(hash);
+PHP_FUNCTION(hash_file);
+PHP_FUNCTION(hash_hmac);
+PHP_FUNCTION(hash_hmac_file);
+PHP_FUNCTION(hash_init);
+PHP_FUNCTION(hash_update);
+PHP_FUNCTION(hash_update_stream);
+PHP_FUNCTION(hash_update_file);
+PHP_FUNCTION(hash_final);
+PHP_FUNCTION(hash_algos);
+
 PHP_HASH_API php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len);
 PHP_HASH_API void php_hash_register_algo(const char *algo, php_hash_ops *ops);
 
index f6297711c0eba0bd2eee2a8acbbfb75d7e4fab87..37e35f62e28060366c24765c413b66801444f998 100644 (file)
@@ -36,7 +36,7 @@ typedef struct {
 PHP_HASH_API void PHP_SALSA10Init(PHP_SALSA_CTX *);
 PHP_HASH_API void PHP_SALSA20Init(PHP_SALSA_CTX *);
 
-PHP_HASH_API void PHP_SALSAUpdate(PHP_SALSA_CTX *, const unsigned char *, uint);
+PHP_HASH_API void PHP_SALSAUpdate(PHP_SALSA_CTX *, const unsigned char *, size_t);
 PHP_HASH_API void PHP_SALSAFinal(unsigned char[64], PHP_SALSA_CTX *);
 
 #endif
index f8c71ba66da86d696c2c9b369cdc3cd0c9ab9bca..b69278baf01f46a5085e90fe4c40073a85063fd1 100644 (file)
@@ -36,7 +36,7 @@ typedef struct {
 } PHP_SNEFRU_CTX;
 
 PHP_HASH_API void PHP_SNEFRUInit(PHP_SNEFRU_CTX *);
-PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *, const unsigned char *, uint);
+PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *, const unsigned char *, size_t);
 PHP_HASH_API void PHP_SNEFRUFinal(unsigned char[32], PHP_SNEFRU_CTX *);
 
 #endif
index 56be370778e46e1eaed8eb0343b630ac4c355195..5950702b1179d48906516c2b6e82e2c446c5f161 100644 (file)
@@ -33,7 +33,7 @@ typedef struct {
 } PHP_WHIRLPOOL_CTX;
 
 PHP_HASH_API void PHP_WHIRLPOOLInit(PHP_WHIRLPOOL_CTX *);
-PHP_HASH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *, const unsigned char *, uint);
+PHP_HASH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *, const unsigned char *, size_t);
 PHP_HASH_API void PHP_WHIRLPOOLFinal(unsigned char[64], PHP_WHIRLPOOL_CTX *);
 
 #endif