cvs: /php3/functions wddx.c wddx_a.c mhash.c

From: Date: Sun, 21 Nov 1999 12:48:32 +0000
Subject: cvs: /php3/functions wddx.c wddx_a.c mhash.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-12850@lists.php.net to get a copy of this message
eschmid Sun Nov 21 07:48:32 1999 EDT Modified files: /php3/functions wddx.c wddx_a.c mhash.c Log: Can someone provide docs for the wddx.c functions? Index: php3/functions/wddx.c diff -u php3/functions/wddx.c:1.7 php3/functions/wddx.c:1.8 --- php3/functions/wddx.c:1.7 Sun Jan 10 13:06:40 1999 +++ php3/functions/wddx.c Sun Nov 21 07:48:32 1999 @@ -27,7 +27,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: wddx.c,v 1.7 1999/01/10 18:06:40 sas Exp $ */ +/* $Id: wddx.c,v 1.8 1999/11/21 12:48:32 eschmid Exp $ */ #include "php.h" #include "internal_functions.h" @@ -439,8 +439,8 @@ } /* }}} */ -/* {{{ proto string wddx_serialize(...) - creates a WDDX conforming representation of its arguments */ +/* {{{ proto string wddx_serialize(mixed var_name [, mixed ...]) + Creates a WDDX conforming representation of its arguments */ PHP_FUNCTION(wddx_serialize) { pval **args; @@ -476,7 +476,7 @@ /* }}} */ /* {{{ proto array wddx_unserialize(string arg [, string prefix]) - unserializes a string in WDDX format */ + Unserializes a string in WDDX format */ PHP_FUNCTION(wddx_unserialize) { pval *arg, *pprefix; Index: php3/functions/wddx_a.c diff -u php3/functions/wddx_a.c:1.10 php3/functions/wddx_a.c:1.11 --- php3/functions/wddx_a.c:1.10 Thu Aug 26 09:23:19 1999 +++ php3/functions/wddx_a.c Sun Nov 21 07:48:32 1999 @@ -27,7 +27,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: wddx_a.c,v 1.10 1999/08/26 13:23:19 andrey Exp $ */ +/* $Id: wddx_a.c,v 1.11 1999/11/21 12:48:32 eschmid Exp $ */ #include "php.h" #include "internal_functions.h" @@ -639,7 +639,7 @@ /* }}} */ -/* {{{ proto string wddx_serialize_value(mixed var [, string comment ]) +/* {{{ proto string wddx_serialize_value(mixed var [, string comment]) Creates a new packet and serializes the given value */ PHP_FUNCTION(wddx_serialize_value) { @@ -681,7 +681,7 @@ /* }}} */ -/* {{{ proto string wddx_serialize_vars(. . .) +/* {{{ proto string wddx_serialize_vars(mixed var_name [, ...]) Creates a new packet and serializes given variables into a struct */ PHP_FUNCTION(wddx_serialize_vars) { @@ -723,7 +723,7 @@ /* }}} */ -/* {{{ proto int wddx_packet_start([ string comment ]) +/* {{{ proto int wddx_packet_start([string comment]) Starts a WDDX packet with optional comment and returns the packet id */ PHP_FUNCTION(wddx_packet_start) { @@ -795,7 +795,7 @@ /* }}} */ -/* {{{ proto int wddx_add_vars(int packet_id, . . .) +/* {{{ proto int wddx_add_vars(int packet_id, mixed name_var [, ...]) Serializes given variables and adds them to packet given by packet_id */ PHP_FUNCTION(wddx_add_vars) { Index: php3/functions/mhash.c diff -u php3/functions/mhash.c:1.4 php3/functions/mhash.c:1.5 --- php3/functions/mhash.c:1.4 Sun Nov 14 19:02:21 1999 +++ php3/functions/mhash.c Sun Nov 21 07:48:32 1999 @@ -75,7 +75,7 @@ } /* {{{ proto int mhash_count(void) - get the number of available hashes */ + Get the number of available hashes */ PHP_FUNCTION(mhash_count) { RETURN_LONG(mhash_count()); @@ -83,7 +83,7 @@ /* }}} */ /* {{{ proto int mhash_get_block_size(int hash) - get the block size of hash */ + Get the block size of hash */ PHP_FUNCTION(mhash_get_block_size) { pval *hash; @@ -100,7 +100,7 @@ /* {{{ proto string mhash_get_hash_name(int hash) - get the name of hash */ + Get the name of hash */ PHP_FUNCTION(mhash_get_hash_name) { pval *hash; @@ -123,7 +123,7 @@ /* }}} */ /* {{{ proto string mhash(int hash, string data) - hash data with hash */ + Hash data with hash */ PHP_FUNCTION(mhash) { pval *hash, *data;

« previous php.dev (#12850) next »