From: Egon Schmid Date: Mon, 15 Jan 2001 12:01:34 +0000 (+0000) Subject: Some protos fixed. X-Git-Tag: php-4.0.5RC1~561 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57d200c21b472c34427c0b1ddc3a7425d7f60f5a;p=php Some protos fixed. --- diff --git a/ext/mhash/mhash.c b/ext/mhash/mhash.c index 58abc9fa2e..2b42307625 100644 --- a/ext/mhash/mhash.c +++ b/ext/mhash/mhash.c @@ -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)