cvs: /php3/functions bcmath.c ldap.c math.c microtime.c oracle.c pgsql.c uniqid.c interbase.c
| From: | Egon Schmid | Date: | Tue, 22 Feb 2000 15:14:28 +0000 |
| Subject: | cvs: /php3/functions bcmath.c ldap.c math.c microtime.c oracle.c pgsql.c uniqid.c interbase.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15794@lists.php.net to get a copy of this message | ||
eschmid Tue Feb 22 07:14:28 2000 EDT
Modified files:
/php3/functions bcmath.c ldap.c math.c microtime.c oracle.c pgsql.c
uniqid.c interbase.c
Log:
More protos.
Index: php3/functions/bcmath.c
diff -u php3/functions/bcmath.c:1.31 php3/functions/bcmath.c:1.32
--- php3/functions/bcmath.c:1.31 Fri Dec 31 20:31:14 1999
+++ php3/functions/bcmath.c Tue Feb 22 07:13:57 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: bcmath.c,v 1.31 2000/01/01 04:31:14 sas Exp $ */
+/* $Id: bcmath.c,v 1.32 2000/02/22 15:13:57 eschmid Exp $ */
#ifndef MSVC5
#include "config.h"
#include "build-defs.h"
@@ -126,7 +126,7 @@
/* }}} */
/* {{{ proto string bcsub(string left_operand, string right_operand [, int scale])
- Returns the difference between two arbitrary precision numbers (subtration) */
+ Returns the difference between two arbitrary precision numbers */
void php3_bcmath_sub(INTERNAL_FUNCTION_PARAMETERS)
{
pval *left, *right,*scale_param;
Index: php3/functions/ldap.c
diff -u php3/functions/ldap.c:1.77 php3/functions/ldap.c:1.78
--- php3/functions/ldap.c:1.77 Fri Dec 31 20:31:16 1999
+++ php3/functions/ldap.c Tue Feb 22 07:13:57 2000
@@ -30,7 +30,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ldap.c,v 1.77 2000/01/01 04:31:16 sas Exp $ */
+/* $Id: ldap.c,v 1.78 2000/02/22 15:13:57 eschmid Exp $ */
#define IS_EXT_MODULE
#if !(WIN32|WINNT)
@@ -178,7 +178,7 @@
php3_printf("<table>"
"<tr><td>Total links:</td><td>%d/%s</td></tr>\n"
- "<tr><td>RCS Version:</td><td>$Id: ldap.c,v 1.77 2000/01/01
04:31:16 sas Exp $</td></tr>\n"
+ "<tr><td>RCS Version:</td><td>$Id: ldap.c,v 1.78 2000/02/22
15:13:57 eschmid Exp $</td></tr>\n"
#if HAVE_NSLDAP
"<tr><td>SDK Version:</td><td>%f</td></tr>"
"<tr><td>Highest LDAP Protocol
Supported:</td><td>%f</td></tr>"
@@ -1000,7 +1000,7 @@
/* }}} */
/* {{{ proto array ldap_get_values_len(int link, int result, string attribute)
- Get all values from a result entry */
+ Get all values from a result entry */
void php3_ldap_get_values_len(INTERNAL_FUNCTION_PARAMETERS)
{
pval *link, *result_entry, *attr;
@@ -1288,7 +1288,7 @@
/* }}} */
/* {{{ proto int ldap_mod_add(int link, string dn, array entry)
- Add attribute values to current */
+ Add attribute values to current */
void php3_ldap_mod_add(INTERNAL_FUNCTION_PARAMETERS)
{
php3_ldap_do_modify(INTERNAL_FUNCTION_PARAM_PASSTHRU, LDAP_MOD_ADD);
Index: php3/functions/math.c
diff -u php3/functions/math.c:1.49 php3/functions/math.c:1.50
--- php3/functions/math.c:1.49 Fri Dec 31 20:31:16 1999
+++ php3/functions/math.c Tue Feb 22 07:13:57 2000
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: math.c,v 1.49 2000/01/01 04:31:16 sas Exp $ */
+/* $Id: math.c,v 1.50 2000/02/22 15:13:57 eschmid Exp $ */
#include "php.h"
#include "internal_functions.h"
#include "phpmath.h"
@@ -658,7 +658,7 @@
return resbuf;
}
-/* {{{ proto string number_format(double number, [,int num_decimal_places [, string dec_seperator,
string thousands_seperator)]])
+/* {{{ proto string number_format(double number [,int num_decimal_places [, string dec_separator,
string thousands_separator)]])
Formats a number with grouped thousands */
void php3_number_format(INTERNAL_FUNCTION_PARAMETERS)
{
Index: php3/functions/microtime.c
diff -u php3/functions/microtime.c:1.35 php3/functions/microtime.c:1.36
--- php3/functions/microtime.c:1.35 Fri Dec 31 20:31:16 1999
+++ php3/functions/microtime.c Tue Feb 22 07:13:57 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: microtime.c,v 1.35 2000/01/01 04:31:16 sas Exp $ */
+/* $Id: microtime.c,v 1.36 2000/02/22 15:13:57 eschmid Exp $ */
#include "php.h"
#include <stdlib.h>
@@ -113,8 +113,8 @@
}
/* }}} */
-/* {{{ proto array getrusage([ int who ])
- returns an array of usage statistics */
+/* {{{ proto array getrusage([int who])
+ Returns an array of usage statistics */
void php3_getrusage(INTERNAL_FUNCTION_PARAMETERS)
{
#if HAVE_GETRUSAGE
Index: php3/functions/oracle.c
diff -u php3/functions/oracle.c:1.117 php3/functions/oracle.c:1.118
--- php3/functions/oracle.c:1.117 Fri Dec 31 20:31:16 1999
+++ php3/functions/oracle.c Tue Feb 22 07:13:57 2000
@@ -715,7 +715,6 @@
/* }}} */
/* {{{ proto int ora_parse(int cursor, string sql_statement [, int defer])
-
Parse an Oracle SQL statement */
void php3_Ora_Parse(INTERNAL_FUNCTION_PARAMETERS)
{
@@ -959,7 +958,7 @@
}
/* }}} */
-/* prepares/executes/fetches 1st row if avail*/
+/* prepares/executes/fetches 1st row if avail */
/* {{{ proto int ora_do(int connection, int cursor)
Parse and execute a statement and fetch first result row */
void php3_Ora_Do(INTERNAL_FUNCTION_PARAMETERS)
@@ -1078,7 +1077,7 @@
}
/* }}} */
-/* {{{ proto int ora_fetch_into(int cursor, array result [ , int flags ])
+/* {{{ proto int ora_fetch_into(int cursor, array result [, int flags])
Fetch a row into the specified result array */
void php3_Ora_FetchInto(INTERNAL_FUNCTION_PARAMETERS)
{
Index: php3/functions/pgsql.c
diff -u php3/functions/pgsql.c:1.91 php3/functions/pgsql.c:1.92
--- php3/functions/pgsql.c:1.91 Mon Feb 7 15:54:51 2000
+++ php3/functions/pgsql.c Tue Feb 22 07:13:57 2000
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.91 2000/02/07 23:54:51 zeev Exp $ */
+/* $Id: pgsql.c,v 1.92 2000/02/22 15:13:57 eschmid Exp $ */
#include <stdlib.h>
@@ -1174,7 +1174,7 @@
}
/* }}} */
-/* {{{ proto void pg_lounlink([int connection, ] int large_obj_id)
+/* {{{ proto void pg_lounlink([int connection,] int large_obj_id)
Delete a large object */
void php3_pgsql_lo_unlink(INTERNAL_FUNCTION_PARAMETERS)
{
@@ -1221,7 +1221,7 @@
/* }}} */
/* {{{ proto int pg_loopen([int connection,] int objoid, string mode)
- Open a large object and return fd */
+ Open a large object and return a fd */
void php3_pgsql_lo_open(INTERNAL_FUNCTION_PARAMETERS)
{
pval *pgsql_link, *oid, *mode;
Index: php3/functions/uniqid.c
diff -u php3/functions/uniqid.c:1.40 php3/functions/uniqid.c:1.41
--- php3/functions/uniqid.c:1.40 Fri Dec 31 20:31:17 1999
+++ php3/functions/uniqid.c Tue Feb 22 07:13:57 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: uniqid.c,v 1.40 2000/01/01 04:31:17 sas Exp $ */
+/* $Id: uniqid.c,v 1.41 2000/02/22 15:13:57 eschmid Exp $ */
#include "php.h"
#include "internal_functions.h"
@@ -51,7 +51,7 @@
#define MORE_ENTROPY (argc == 2 && flags->value.lval)
-/* {{{ proto string uniqid(string prefix, [bool more_entropy])
+/* {{{ proto string uniqid(string prefix [, bool more_entropy])
Generate a unique id */
PHP_FUNCTION(uniqid)
{
Index: php3/functions/interbase.c
diff -u php3/functions/interbase.c:1.23 php3/functions/interbase.c:1.24
--- php3/functions/interbase.c:1.23 Fri Dec 31 20:31:15 1999
+++ php3/functions/interbase.c Tue Feb 22 07:13:57 2000
@@ -28,7 +28,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interbase.c,v 1.23 2000/01/01 04:31:15 sas Exp $ */
+/* $Id: interbase.c,v 1.24 2000/02/22 15:13:57 eschmid Exp $ */
/* TODO: Arrays, roles?
A lot... */
@@ -514,7 +514,7 @@
php3_printf(
"<table>"
- "<tr><td>Revision:</td><td>$Revision: 1.23
$</td></tr>\n"
+ "<tr><td>Revision:</td><td>$Revision: 1.24
$</td></tr>\n"
#ifdef COMPILE_DL
"<tr><td>Dynamic
module:</td><td>Yes</td></tr>\n"
#endif
@@ -1239,7 +1239,7 @@
/* {{{ proto int ibase_trans([int trans_args [, int link_identifier]])
- Start transaction */
+ Start transaction */
PHP_FUNCTION(ibase_trans)
{
pval **args;