eschmid Mon Jan 15 04:01:35 2001 EDT
Modified files:
/php4/ext/mhash mhash.c
Log:
Some protos fixed.
Index: php4/ext/mhash/mhash.c
diff -u php4/ext/mhash/mhash.c:1.24 php4/ext/mhash/mhash.c:1.25
--- php4/ext/mhash/mhash.c:1.24 Wed Nov 22 13:52:53 2000
+++ php4/ext/mhash/mhash.c Mon Jan 15 04:01:34 2001
@@ -75,8 +75,8 @@
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 @@
/* }}} */
/* {{{ 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 @@
/* }}} */
/* {{{ 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 @@
/* }}} */
-/* {{{ 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 @@
/* }}} */
/* {{{ 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)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]