cvs: php4 /ext/ii ii.c
| From: | Egon Schmid | Date: | Mon, 17 Jul 2000 21:50:34 +0000 |
| Subject: | cvs: php4 /ext/ii ii.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-794@lists.php.net to get a copy of this message | ||
eschmid Mon Jul 17 14:50:34 2000 EDT
Modified files:
/php4/ext/ii ii.c
Log:
Fixed some protos. Only one line for the description.
Index: php4/ext/ii/ii.c
diff -u php4/ext/ii/ii.c:1.1 php4/ext/ii/ii.c:1.2
--- php4/ext/ii/ii.c:1.1 Mon Jul 17 14:29:29 2000
+++ php4/ext/ii/ii.c Mon Jul 17 14:50:34 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ii.c,v 1.1 2000/07/17 21:29:29 henot Exp $ */
+/* $Id: ii.c,v 1.2 2000/07/17 21:50:34 eschmid Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -541,8 +541,7 @@
}
/* {{{ proto resource ii_connect([string database [, string username [, string password]]])
- Open a connection to an Ingres II database
- the syntax of database is [node_id::]dbname[/svr_class] */
+ Open a connection to an Ingres II database the syntax of database is
[node_id::]dbname[/svr_class] */
PHP_FUNCTION(ii_connect)
{
php_ii_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
@@ -550,8 +549,7 @@
/* }}} */
/* {{{ proto resource ii_pconnect([string database [, string username [, string password]]])
- Open a persistent connection to an Ingres II database
- the syntax of database is [node_id::]dbname[/svr_class] */
+ Open a persistent connection to an Ingres II database the syntax of database is
[node_id::]dbname[/svr_class] */
PHP_FUNCTION(ii_pconnect)
{
php_ii_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
@@ -584,8 +582,9 @@
/* }}} */
/* {{{ proto bool ii_query(string query [, resource link])
- Send a SQL query to Ingres II
- Unsupported query types :
+ Send a SQL query to Ingres II */
+/* This should go into the documentation */
+/* Unsupported query types:
- close
- commit
- connect
@@ -667,8 +666,9 @@
/* }}} */
/* {{{ proto int ii_num_rows([resource link])
- Return the number of rows affected/returned by the last query
- Warning : don't call ii_num_rows() before ii_fetch_xx(),
+ Return the number of rows affected/returned by the last query */
+
+/* Warning : don't call ii_num_rows() before ii_fetch_xx(),
or ii_fetch_xx() wouldn't find any data */
PHP_FUNCTION(ii_num_rows)
{
@@ -861,8 +861,7 @@
}
/* {{{ proto string ii_field_name(int index [, resource link])
- Return the name of a field in a query result
- index must be >0 and <= ii_num_fields() */
+ Return the name of a field in a query result index must be >0 and <= ii_num_fields() */
PHP_FUNCTION(ii_field_name)
{
php_ii_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, II_FIELD_INFO_NAME);
@@ -870,8 +869,7 @@
/* }}} */
/* {{{ proto string ii_field_type(int index [, resource link])
- Return the type of a field in a query result
- index must be >0 and <= ii_num_fields() */
+ Return the type of a field in a query result index must be >0 and <= ii_num_fields() */
PHP_FUNCTION(ii_field_type)
{
php_ii_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, II_FIELD_INFO_TYPE);
@@ -879,8 +877,7 @@
/* }}} */
/* {{{ proto string ii_field_nullable(int index [, resource link])
- Return true if the field is nullable and false otherwise
- index must be >0 and <= ii_num_fields() */
+ Return true if the field is nullable and false otherwise index must be >0 and <=
ii_num_fields() */
PHP_FUNCTION(ii_field_nullable)
{
php_ii_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, II_FIELD_INFO_NULLABLE);
@@ -888,8 +885,7 @@
/* }}} */
/* {{{ proto string ii_field_length(int index [, resource link])
- Return the length of a field in a query result
- index must be >0 and <= ii_num_fields() */
+ Return the length of a field in a query result index must be >0 and <= ii_num_fields() */
PHP_FUNCTION(ii_field_length)
{
php_ii_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, II_FIELD_INFO_LENGTH);
@@ -897,8 +893,7 @@
/* }}} */
/* {{{ proto string ii_field_precision(int index [, resource link])
- Return the precision of a field in a query result
- index must be >0 and <= ii_num_fields() */
+ Return the precision of a field in a query result index must be >0 and <= ii_num_fields()
*/
PHP_FUNCTION(ii_field_precision)
{
php_ii_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, II_FIELD_INFO_PRECISION);
@@ -906,8 +901,7 @@
/* }}} */
/* {{{ proto string ii_field_scale(int index [, resource link])
- Return the scale of a field in a query result
- index must be >0 and <= ii_num_fields() */
+ Return the scale of a field in a query result index must be >0 and <= ii_num_fields() */
PHP_FUNCTION(ii_field_scale)
{
php_ii_field_info(INTERNAL_FUNCTION_PARAM_PASSTHRU, II_FIELD_INFO_SCALE);
@@ -1135,9 +1129,7 @@
}
/* {{{ proto array ii_fetch_array([int result_type [, resource link]])
- Fetch a row of result into an array
- result_type can be II_NUM for enumerated array, II_ASSOC for
- associative array, or II_BOTH (default) */
+ Fetch a row of result into an array result_type can be II_NUM for enumerated array, II_ASSOC for
associative array, or II_BOTH (default) */
PHP_FUNCTION(ii_fetch_array)
{
zval **result_type, **link;
@@ -1166,7 +1158,7 @@
}
/* }}} */
-/* {{{ proto array ii_fetch_row([resource link]])
+/* {{{ proto array ii_fetch_row([resource link])
Fetch a row of result into an enumerated array */
PHP_FUNCTION(ii_fetch_row)
{
@@ -1192,9 +1184,7 @@
/* }}} */
/* {{{ proto array ii_fetch_object([int result_type [, resource link]])
- Fetch a row of result into an object
- result_type can be II_NUM for enumerated object, II_ASSOC for
- associative object, or II_BOTH (default) */
+ Fetch a row of result into an object result_type can be II_NUM for enumerated object, II_ASSOC
for associative object, or II_BOTH (default) */
PHP_FUNCTION(ii_fetch_object)
{
zval **result_type, **link;