CVS update: php3/functions

From: Date: Wed, 11 Nov 1998 22:14:40 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2341@lists.php.net to get a copy of this message
Date: Wednesday November 11, 1998 @ 17:14 Author: rasmus Update of /repository/php3/functions In directory asf:/u2/tmp/cvs-serv12139/functions Modified Files: dl.c html.c md5.c Log Message: Some more function prototype comments Index: php3/functions/dl.c diff -c php3/functions/dl.c:1.97 php3/functions/dl.c:1.98 *** php3/functions/dl.c:1.97 Wed Aug 12 00:56:34 1998 --- php3/functions/dl.c Wed Nov 11 17:14:38 1998 *************** *** 66,72 **** #endif ! void dl(INTERNAL_FUNCTION_PARAMETERS) { pval *file; --- 66,73 ---- #endif ! /* {{{ proto int dl(string extension_filename) ! Load a PHP extension at runtime */ void dl(INTERNAL_FUNCTION_PARAMETERS) { pval *file; *************** *** 85,91 **** } else { php3_dl(file,MODULE_TEMPORARY,return_value); } ! } #if HAVE_LIBDL --- 86,92 ---- } else { php3_dl(file,MODULE_TEMPORARY,return_value); } ! } /* }}} */ #if HAVE_LIBDL Index: php3/functions/html.c diff -c php3/functions/html.c:1.22 php3/functions/html.c:1.23 *** php3/functions/html.c:1.22 Fri Jun 26 10:58:20 1998 --- php3/functions/html.c Wed Nov 11 17:14:38 1998 *************** *** 111,125 **** efree(new); } void php3_htmlspecialchars(INTERNAL_FUNCTION_PARAMETERS) { _php3_htmlentities(INTERNAL_FUNCTION_PARAM_PASSTHRU,0); ! } void php3_htmlentities(INTERNAL_FUNCTION_PARAMETERS) { _php3_htmlentities(INTERNAL_FUNCTION_PARAM_PASSTHRU,1); ! } /* * Local variables: --- 111,129 ---- efree(new); } + /* {{{ proto string htmlspecialchars(string string) + Convert special characters to HTML entities */ void php3_htmlspecialchars(INTERNAL_FUNCTION_PARAMETERS) { _php3_htmlentities(INTERNAL_FUNCTION_PARAM_PASSTHRU,0); ! } /* }}} */ + /* {{{ proto string htmlentities(string string) + Convert all applicable characters to HTML entities */ void php3_htmlentities(INTERNAL_FUNCTION_PARAMETERS) { _php3_htmlentities(INTERNAL_FUNCTION_PARAM_PASSTHRU,1); ! } /* }}} */ /* * Local variables: Index: php3/functions/md5.c diff -c php3/functions/md5.c:1.29 php3/functions/md5.c:1.30 *** php3/functions/md5.c:1.29 Sat Sep 5 00:23:52 1998 --- php3/functions/md5.c Wed Nov 11 17:14:39 1998 *************** *** 40,45 **** --- 40,47 ---- #include "md5.h" + /* {{{ proto string md5(string str) + Calculate the md5 hash of a string */ void php3_md5(INTERNAL_FUNCTION_PARAMETERS) { pval *arg; *************** *** 64,70 **** } *r = '\0'; RETVAL_STRING(md5str,1); ! } /* * The remaining code is the reference MD5 code (md5c.c) from rfc1321 --- 66,72 ---- } *r = '\0'; RETVAL_STRING(md5str,1); ! } /* }}} */ /* * The remaining code is the reference MD5 code (md5c.c) from rfc1321 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2341) next »