Some protos fixed.

This commit is contained in:
Egon Schmid 2001-01-15 12:01:34 +00:00
parent 0e08845eb0
commit 57d200c21b

View File

@ -75,8 +75,8 @@ static PHP_MINIT_FUNCTION(mhash)
return SUCCESS;
}
/* {{{ proto int mhash_count()
get the number of available hashes */
/* {{{ proto int mhash_count(void)
Gets the number of available hashes */
PHP_FUNCTION(mhash_count)
{
RETURN_LONG(mhash_count());
@ -85,7 +85,7 @@ PHP_FUNCTION(mhash_count)
/* }}} */
/* {{{ proto int mhash_get_block_size(int hash)
get the block size of hash */
Gets the block size of hash */
PHP_FUNCTION(mhash_get_block_size)
{
pval **hash;
@ -103,7 +103,7 @@ PHP_FUNCTION(mhash_get_block_size)
/* }}} */
/* {{{ proto string mhash_get_hash_name(int hash)
get the name of hash */
Gets the name of hash */
PHP_FUNCTION(mhash_get_hash_name)
{
pval **hash;
@ -127,8 +127,8 @@ PHP_FUNCTION(mhash_get_hash_name)
/* }}} */
/* {{{ proto string mhash(int hash, string data, [string key])
hash data with hash */
/* {{{ proto string mhash(int hash, string data [, string key])
Hash data with hash */
PHP_FUNCTION(mhash)
{
pval **hash, **data, **key;
@ -194,7 +194,7 @@ PHP_FUNCTION(mhash)
/* }}} */
/* {{{ proto string mhash_keygen_s2k(int hash, string input_password, string salt, int bytes)
generate a key using hash functions */
Generates a key using hash functions */
/* SALTED S2K uses a fixed salt */
#define SALT_SIZE 8
PHP_FUNCTION(mhash_keygen_s2k)