cvs: /php3/functions mhash.c

From: Date: Thu, 29 Jul 1999 20:09:22 +0000
Subject: cvs: /php3/functions mhash.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-9330@lists.php.net to get a copy of this message
eschmid Thu Jul 29 16:09:22 1999 EDT Modified files: /php3/functions mhash.c Log: I love correct prototypes. Index: php3/functions/mhash.c diff -u php3/functions/mhash.c:1.1 php3/functions/mhash.c:1.2 --- php3/functions/mhash.c:1.1 Sat May 22 18:34:56 1999 +++ php3/functions/mhash.c Thu Jul 29 16:09:21 1999 @@ -74,14 +74,15 @@ return SUCCESS; } -/* proto mhash_count() +/* {{{ proto int mhash_count(void) get the number of available hashes */ PHP_FUNCTION(mhash_count) { RETURN_LONG(mhash_count()); } +/* }}} */ -/* proto 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) { @@ -95,8 +96,10 @@ RETURN_LONG(mhash_get_block_size(hash->value.lval)); } +/* }}} */ -/* proto 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) { @@ -117,8 +120,9 @@ RETVAL_FALSE; } } +/* }}} */ -/* proto mhash(int hash, string data) +/* {{{ proto string mhash(int hash, string data) hash data with hash */ PHP_FUNCTION(mhash) { @@ -149,5 +153,6 @@ free(hash_data); } +/* }}} */ #endif

« previous php.dev (#9330) next »