cvs: php4 /ext/mhash/ mhash.c
[email protected] ("Hartmut Holzgraefe")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <cvshholzgra959361636@cvsserver> |
hholzgra Fri May 26 10:20:36 2000 EDT
Modified files:
/php4/ext/mhash mhash.c
Log:
protos fixed
Index: php4/ext/mhash/mhash.c
diff -u php4/ext/mhash/mhash.c:1.17 php4/ext/mhash/mhash.c:1.18
--- php4/ext/mhash/mhash.c:1.17 Tue May 23 15:18:08 2000
+++ php4/ext/mhash/mhash.c Fri May 26 10:20:36 2000
@@ -67,14 +67,15 @@
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 @@
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 @@
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 @@
RETURN_FALSE;
}
}
+/* }}} */
#endif