]> granicus.if.org Git - php/commitdiff
Some protos fixed.
authorEgon Schmid <eschmid@php.net>
Mon, 15 Jan 2001 12:01:34 +0000 (12:01 +0000)
committerEgon Schmid <eschmid@php.net>
Mon, 15 Jan 2001 12:01:34 +0000 (12:01 +0000)
ext/mhash/mhash.c

index 58abc9fa2ec6bdb8c907d1257f53db43999f97a3..2b4230762596efe470458a127ce886a3c040a72a 100644 (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)