diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-05-23 22:18:08 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-05-23 22:18:08 +0000 |
commit | 83d987b48d7d581bdcce19d81f27b8b99c414471 (patch) | |
tree | 2c285eced12f5db62ca3f03d26388c8a3479e801 /ext/mcrypt | |
parent | e09b2d0df40da5a204e75d2e4390dceafbb70f10 (diff) | |
download | php-git-83d987b48d7d581bdcce19d81f27b8b99c414471.tar.gz |
protos where lacking return types
Diffstat (limited to 'ext/mcrypt')
-rw-r--r-- | ext/mcrypt/mcrypt.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 6333d23c58..d2fb868603 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -176,7 +176,7 @@ typedef enum { RAND } iv_source; -/* proto mcrypt_create_iv(int size, int source) +/* proto string mcrypt_create_iv(int size, int source) create an initializing vector (IV) */ PHP_FUNCTION(mcrypt_create_iv) { @@ -224,7 +224,7 @@ PHP_FUNCTION(mcrypt_create_iv) RETURN_STRINGL(iv, n, 0); } -/* proto mcrypt_get_cipher_name(int cipher) +/* proto string mcrypt_get_cipher_name(int cipher) get the name of cipher */ PHP_FUNCTION(mcrypt_get_cipher_name) { @@ -247,7 +247,7 @@ PHP_FUNCTION(mcrypt_get_cipher_name) RETURN_FALSE; } -/* proto mcrypt_get_key_size(int cipher) +/* proto int mcrypt_get_key_size(int cipher) get the key size of cipher */ PHP_FUNCTION(mcrypt_get_key_size) { @@ -262,7 +262,7 @@ PHP_FUNCTION(mcrypt_get_key_size) RETURN_LONG(mcrypt_get_key_size((*cipher)->value.lval)); } -/* proto mcrypt_get_block_size(int cipher) +/* proto int mcrypt_get_block_size(int cipher) get the block size of cipher */ PHP_FUNCTION(mcrypt_get_block_size) { @@ -277,7 +277,7 @@ PHP_FUNCTION(mcrypt_get_block_size) RETURN_LONG(mcrypt_get_block_size((*cipher)->value.lval)); } -/* proto mcrypt_ofb(int cipher, string key, string data, int mode, string iv) +/* proto string mcrypt_ofb(int cipher, string key, string data, int mode, string iv) OFB crypt/decrypt data using key key with cipher cipher starting with iv */ PHP_FUNCTION(mcrypt_ofb) { @@ -298,7 +298,7 @@ PHP_FUNCTION(mcrypt_ofb) RETURN_STRINGL(ndata, nsize, 0); } -/* proto mcrypt_cfb(int cipher, string key, string data, int mode, string iv) +/* proto string mcrypt_cfb(int cipher, string key, string data, int mode, string iv) CFB crypt/decrypt data using key key with cipher cipher starting with iv */ PHP_FUNCTION(mcrypt_cfb) { @@ -320,7 +320,7 @@ PHP_FUNCTION(mcrypt_cfb) } -/* proto mcrypt_cbc(int cipher, string key, string data, int mode [,string iv]) +/* proto string mcrypt_cbc(int cipher, string key, string data, int mode [,string iv]) CBC crypt/decrypt data using key key with cipher cipher using optional iv */ PHP_FUNCTION(mcrypt_cbc) { @@ -349,7 +349,7 @@ PHP_FUNCTION(mcrypt_cbc) RETURN_STRINGL(ndata, nsize, 0); } -/* proto mcrypt_ecb(int cipher, string key, string data, int mode) +/* proto string mcrypt_ecb(int cipher, string key, string data, int mode) ECB crypt/decrypt data using key key with cipher cipher */ PHP_FUNCTION(mcrypt_ecb) { |