CVS update: php3/functions

From: Date: Tue, 17 Nov 1998 20:09:03 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2444@lists.php.net to get a copy of this message
Date: Tuesday November 17, 1998 @ 15:09 Author: ssb Update of /repository/php3/functions In directory asf:/u2/tmp/cvs-serv24704 Modified Files: oci8.c Log Message: add prototypes Index: php3/functions/oci8.c diff -c php3/functions/oci8.c:1.20 php3/functions/oci8.c:1.21 *** php3/functions/oci8.c:1.20 Tue Oct 20 20:14:23 1998 --- php3/functions/oci8.c Tue Nov 17 15:09:03 1998 *************** *** 30,36 **** +----------------------------------------------------------------------+ */ ! /* $Id: oci8.c,v 1.20 1998/10/21 00:14:23 ssb Exp $ */ #include "php.h" #include "internal_functions.h" --- 30,36 ---- +----------------------------------------------------------------------+ */ ! /* $Id: oci8.c,v 1.21 1998/11/17 20:09:03 ssb Exp $ */ #include "php.h" #include "internal_functions.h" *************** *** 877,883 **** /************************* EXTENSION FUNCTIONS *************************/ ! /* {{{ int OCIBindByName(int stmt, string name, mixed &var) */ void php3_oci8_bindbyname(INTERNAL_FUNCTION_PARAMETERS) { --- 877,885 ---- /************************* EXTENSION FUNCTIONS *************************/ ! /* {{{ proto int OCIBindByName(int stmt, string name, mixed &var) ! Bind a PHP variable to an Oracle placeholder by name. ! */ void php3_oci8_bindbyname(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 945,951 **** } /* }}} */ ! /* {{{ string OCIColumnName(int stmt, int col) */ void php3_oci8_columnname(INTERNAL_FUNCTION_PARAMETERS) { --- 947,955 ---- } /* }}} */ ! /* {{{ proto string OCIColumnName(int stmt, int col) ! Tell the name of a column. ! */ void php3_oci8_columnname(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 971,977 **** } /* }}} */ ! /* {{{ int OCIColumnSize(int stmt, int col) */ void php3_oci8_columnsize(INTERNAL_FUNCTION_PARAMETERS) { --- 975,983 ---- } /* }}} */ ! /* {{{ proto int OCIColumnSize(int stmt, int col) ! Tell the maximum data size of a column. ! */ void php3_oci8_columnsize(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 997,1003 **** } /* }}} */ ! /* {{{ mixed OCIColumnType(int stmt, int col) */ void php3_oci8_columntype(INTERNAL_FUNCTION_PARAMETERS) { --- 1003,1011 ---- } /* }}} */ ! /* {{{ proto mixed OCIColumnType(int stmt, int col) ! Tell the data type of a column. ! */ void php3_oci8_columntype(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1056,1062 **** } /* }}} */ ! /* {{{ int OCIColumnIsNULL(int stmt, int col) */ void php3_oci8_columnisnull(INTERNAL_FUNCTION_PARAMETERS) { --- 1064,1072 ---- } /* }}} */ ! /* {{{ proto int OCIColumnIsNULL(int stmt, int col) ! Tell whether a column is NULL. ! */ void php3_oci8_columnisnull(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1086,1092 **** } /* }}} */ ! /* {{{ void OCIDebug(int onoff) */ /* Disables or enables the internal debug output. * By default it is disabled. --- 1096,1104 ---- } /* }}} */ ! /* {{{ proto void OCIDebug(int onoff) ! Toggle internal debugging output for the OCI extension. ! */ /* Disables or enables the internal debug output. * By default it is disabled. *************** *** 1105,1111 **** /* }}} */ ! /* {{{ int OCIExecute(int stmt) */ void php3_oci8_execute(INTERNAL_FUNCTION_PARAMETERS) { --- 1117,1125 ---- /* }}} */ ! /* {{{ proto int OCIExecute(int stmt) ! Execute a parsed statement. ! */ void php3_oci8_execute(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1130,1136 **** } /* }}} */ ! /* {{{ int OCIFetch(int stmt) */ void php3_oci8_fetch(INTERNAL_FUNCTION_PARAMETERS) { --- 1144,1152 ---- } /* }}} */ ! /* {{{ proto int OCIFetch(int stmt) ! Prepare a new row of data for reading. ! */ void php3_oci8_fetch(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1156,1162 **** } /* }}} */ ! /* {{{ int OCIFetchInto(int stmt, array &output) */ void php3_oci8_fetchinto(INTERNAL_FUNCTION_PARAMETERS) { --- 1172,1180 ---- } /* }}} */ ! /* {{{ proto int OCIFetchInto(int stmt, array &output) ! Fetch a row of result data into an array. ! */ void php3_oci8_fetchinto(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1199,1205 **** } /* }}} */ ! /* {{{ int OCIFreeStatement(int stmt) */ void php3_oci8_freestatement(INTERNAL_FUNCTION_PARAMETERS) { --- 1217,1225 ---- } /* }}} */ ! /* {{{ proto int OCIFreeStatement(int stmt) ! Free all resources associated with a statement. ! */ void php3_oci8_freestatement(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1220,1226 **** } /* }}} */ ! /* {{{ int OCILogoff(int conn) */ /* Logs off and disconnects. */ --- 1240,1248 ---- } /* }}} */ ! /* {{{ proto int OCILogoff(int conn) ! Disconnect from database. ! */ /* Logs off and disconnects. */ *************** *** 1249,1255 **** } /* }}} */ ! /* {{{ int OCILogon(string user, string pass[, string db]) */ /* Connects to an Oracle 8 database and logs on. If the * optional third parameter is not specified, PHP uses the environment --- 1271,1279 ---- } /* }}} */ ! /* {{{ proto int OCILogon(string user, string pass[, string db]) ! Connect to an Oracle database and log on. ! */ /* Connects to an Oracle 8 database and logs on. If the * optional third parameter is not specified, PHP uses the environment *************** *** 1331,1337 **** } /* }}} */ ! /* {{{ int OCINumCols(int stmt) */ void php3_oci8_numcols(INTERNAL_FUNCTION_PARAMETERS) { --- 1355,1363 ---- } /* }}} */ ! /* {{{ proto int OCINumCols(int stmt) ! Return the number of result columns in a statement. ! */ void php3_oci8_numcols(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1351,1357 **** } /* }}} */ ! /* {{{ int OCIParse(int conn, string query) */ void php3_oci8_parse(INTERNAL_FUNCTION_PARAMETERS) { --- 1377,1385 ---- } /* }}} */ ! /* {{{ proto int OCIParse(int conn, string query) ! Parse a query and return a statement. ! */ void php3_oci8_parse(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1378,1384 **** } /* }}} */ ! /* {{{ string OCIResult(int stmt, mixed column) */ void php3_oci8_result(INTERNAL_FUNCTION_PARAMETERS) { --- 1406,1414 ---- } /* }}} */ ! /* {{{ proto string OCIResult(int stmt, mixed column) ! Return a single column of result data. ! */ void php3_oci8_result(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1409,1415 **** } /* }}} */ ! /* {{{ string OCIServerVersion(int conn) */ void php3_oci8_serverversion(INTERNAL_FUNCTION_PARAMETERS) { --- 1439,1447 ---- } /* }}} */ ! /* {{{ proto string OCIServerVersion(int conn) ! Return a string containing server version information. ! */ void php3_oci8_serverversion(INTERNAL_FUNCTION_PARAMETERS) { *************** *** 1440,1446 **** } /* }}} */ ! /* {{{ int OCIStatementType(int stmt) */ /* XXX it would be better with a general interface to OCIAttrGet() */ --- 1472,1480 ---- } /* }}} */ ! /* {{{ proto int OCIStatementType(int stmt) ! Return the query type of an OCI statement. ! */ /* XXX it would be better with a general interface to OCIAttrGet() */ -- 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 (#2444) next »