summaryrefslogtreecommitdiff
path: root/ext/mhash
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-05-26 17:20:36 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-05-26 17:20:36 +0000
commit7a2e01c5928711c2ded39b50bc3af9f5b04ce426 (patch)
treef385d6851a30c549b45a60d2bf1d028d90dd54e3 /ext/mhash
parent62227a03b1ce8e2f5fb5fb24b67ae856a69dd874 (diff)
downloadphp-git-7a2e01c5928711c2ded39b50bc3af9f5b04ce426.tar.gz
protos fixed
Diffstat (limited to 'ext/mhash')
-rw-r--r--ext/mhash/mhash.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/ext/mhash/mhash.c b/ext/mhash/mhash.c
index 04c4ceadf8..fa0a65b22d 100644
--- a/ext/mhash/mhash.c
+++ b/ext/mhash/mhash.c
@@ -67,14 +67,15 @@ static PHP_MINIT_FUNCTION(mhash)
return SUCCESS;
}
-/* proto int mhash_count()
+/* {{{ proto int mhash_count()
get the number of available hashes */
PHP_FUNCTION(mhash_count)
{
RETURN_LONG(mhash_count());
}
+/* }}} */
-/* proto int mhash_get_block_size(int hash)
+/* {{{ proto int mhash_get_block_size(int hash)
get the block size of hash */
PHP_FUNCTION(mhash_get_block_size)
{
@@ -88,8 +89,9 @@ PHP_FUNCTION(mhash_get_block_size)
RETURN_LONG(mhash_get_block_size((*hash)->value.lval));
}
+/* }}} */
-/* proto string mhash_get_hash_name(int hash)
+/* {{{ proto string mhash_get_hash_name(int hash)
get the name of hash */
PHP_FUNCTION(mhash_get_hash_name)
{
@@ -110,8 +112,9 @@ PHP_FUNCTION(mhash_get_hash_name)
RETVAL_FALSE;
}
}
+/* }}} */
-/* proto string mhash(int hash, string data)
+/* {{{ proto string mhash(int hash, string data)
hash data with hash */
PHP_FUNCTION(mhash)
{
@@ -146,5 +149,6 @@ PHP_FUNCTION(mhash)
RETURN_FALSE;
}
}
+/* }}} */
#endif