cvs: php4 /ext/dbx dbx.c

From: Date: Thu, 08 Nov 2001 21:32:48 +0000
Subject: cvs: php4 /ext/dbx dbx.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8102@lists.php.net to get a copy of this message
eschmid Thu Nov 8 16:32:48 2001 EDT Modified files: /php4/ext/dbx dbx.c Log: There are some rules. Index: php4/ext/dbx/dbx.c diff -u php4/ext/dbx/dbx.c:1.30 php4/ext/dbx/dbx.c:1.31 --- php4/ext/dbx/dbx.c:1.30 Thu Nov 8 15:23:31 2001 +++ php4/ext/dbx/dbx.c Thu Nov 8 16:32:48 2001 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dbx.c,v 1.30 2001/11/08 20:23:31 derick Exp $ */ +/* $Id: dbx.c,v 1.31 2001/11/08 21:32:48 eschmid Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -219,9 +219,7 @@ */ /* {{{ proto dbx_link_object dbx_connect(string module_name, string host, string db, string username, string password [, bool persistent]) - returns a dbx_link_object on success - returns 0 on failure -*/ + Returns a dbx_link_object on success and returns 0 on failure */ ZEND_FUNCTION(dbx_connect) { int number_of_arguments=5; @@ -334,9 +332,7 @@ /* }}} */ /* {{{ proto dbx_result_object dbx_query(dbx_link_object dbx_link, string sql_statement [, long flags]) - returns a dbx_link_object on success - returns 0 on failure -*/ + Returns a dbx_link_object on success and returns 0 on failure */ ZEND_FUNCTION(dbx_query) { int min_number_of_arguments=2; @@ -535,9 +531,8 @@ * dbx functions that are database independent... like sorting result_objects! */ -/* {{{ proto int dbx_compare(array row_x, array row_y, string columnname [, flags]) - returns row_y[columnname] - row_x[columnname], converted to -1, 0 or 1 -*/ +/* {{{ proto int dbx_compare(array row_x, array row_y, string columnname [, int flags]) + Returns row_y[columnname] - row_x[columnname], converted to -1, 0 or 1 */ ZEND_FUNCTION(dbx_compare) { int min_number_of_arguments=3; @@ -627,9 +622,8 @@ } /* }}} */ -/* {{{ proto int dbx_sort(dbx_result_object dbx_result, string compare_function_name) - returns 0 on failure, 1 on success -*/ +/* {{{ proto int dbx_sort(object dbx_result, string compare_function_name) + Returns 0 on failure, 1 on success */ ZEND_FUNCTION(dbx_sort) { int number_of_arguments=2;

« previous php.cvs (#8102) next »