diff options
author | Max Semenik <maxsem.wiki@gmail.com> | 2020-07-01 16:32:55 +0300 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-06 21:13:34 +0200 |
commit | 2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c (patch) | |
tree | f23a5c00a96f30a62ddcf626b4c6a6d53809d14f /ext/oci8 | |
parent | 47579986504022d3eab38e24fff5861d5e4eadad (diff) | |
download | php-git-2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c.tar.gz |
Remove proto comments from C files
Closes GH-5758
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/oci8.c | 6 | ||||
-rw-r--r-- | ext/oci8/oci8_interface.c | 240 |
2 files changed, 82 insertions, 164 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 3a43f837ae..e5aeafc7fe 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -124,8 +124,7 @@ ZEND_GET_MODULE(oci8) #include "oci8_arginfo.h" -/* {{{ extension definition structures -*/ +/* {{{ extension definition structures */ zend_module_entry oci8_module_entry = { STANDARD_MODULE_HEADER, @@ -163,8 +162,7 @@ PHP_INI_BEGIN() PHP_INI_END() /* }}} */ -/* {{{ startup, shutdown and info functions -*/ +/* {{{ startup, shutdown and info functions */ /* {{{ php_oci_init_global_handles() * diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c index a822514432..2dba527625 100644 --- a/ext/oci8/oci8_interface.c +++ b/ext/oci8/oci8_interface.c @@ -40,8 +40,7 @@ #define OCI_STMT_CALL 10 #endif -/* {{{ proto bool oci_register_taf_callback( resource connection [, mixed callback] ) - Register a callback function for Oracle Transparent Application Failover (TAF) */ +/* {{{ Register a callback function for Oracle Transparent Application Failover (TAF) */ PHP_FUNCTION(oci_register_taf_callback) { zval *z_connection; @@ -93,8 +92,7 @@ PHP_FUNCTION(oci_register_taf_callback) } /* }}} */ -/* {{{ proto bool oci_unregister_taf_callback( resource connection ) - * Unregister a callback function for Oracle Transparent Application Failover (TAF) */ +/* {{{ Unregister a callback function for Oracle Transparent Application Failover (TAF) */ PHP_FUNCTION(oci_unregister_taf_callback) { zval *z_connection; @@ -114,8 +112,7 @@ PHP_FUNCTION(oci_unregister_taf_callback) } /* }}} */ -/* {{{ proto bool oci_define_by_name(resource stmt, string name, mixed &var [, int type]) - Define a PHP variable to an Oracle column by name */ +/* {{{ Define a PHP variable to an Oracle column by name */ /* if you want to define a LOB/CLOB etc make sure you allocate it via OCINewDescriptor BEFORE defining!!! */ PHP_FUNCTION(oci_define_by_name) { @@ -182,8 +179,7 @@ PHP_FUNCTION(oci_define_by_name) } /* }}} */ -/* {{{ proto bool oci_bind_by_name(resource stmt, string name, mixed &var [, int maxlength [, int type]]) - Bind a PHP variable to an Oracle placeholder by name */ +/* {{{ Bind a PHP variable to an Oracle placeholder by name */ /* if you want to bind a LOB/CLOB etc make sure you allocate it via OCINewDescriptor BEFORE binding!!! */ PHP_FUNCTION(oci_bind_by_name) { @@ -217,8 +213,7 @@ PHP_FUNCTION(oci_bind_by_name) } /* }}} */ -/* {{{ proto bool oci_bind_array_by_name(resource stmt, string name, array &var, int max_table_length [, int max_item_length [, int type ]]) - Bind a PHP array to an Oracle PL/SQL type by name */ +/* {{{ Bind a PHP array to an Oracle PL/SQL type by name */ PHP_FUNCTION(oci_bind_array_by_name) { size_t name_len; @@ -258,8 +253,7 @@ PHP_FUNCTION(oci_bind_array_by_name) } /* }}} */ -/* {{{ proto bool oci_free_descriptor() - Deletes large object description */ +/* {{{ Deletes large object description */ PHP_FUNCTION(oci_free_descriptor) { zval *tmp, *z_descriptor; @@ -281,8 +275,7 @@ PHP_FUNCTION(oci_free_descriptor) } /* }}} */ -/* {{{ proto bool oci_lob_save( string data [, int offset ]) - Saves a large object */ +/* {{{ Saves a large object */ PHP_FUNCTION(oci_lob_save) { zval *tmp, *z_descriptor; @@ -315,8 +308,7 @@ PHP_FUNCTION(oci_lob_save) } /* }}} */ -/* {{{ proto bool oci_lob_import( string filename ) - Loads file into a LOB */ +/* {{{ Loads file into a LOB */ PHP_FUNCTION(oci_lob_import) { zval *tmp, *z_descriptor; @@ -342,8 +334,7 @@ PHP_FUNCTION(oci_lob_import) } /* }}} */ -/* {{{ proto string oci_lob_load() - Loads a large object */ +/* {{{ Loads a large object */ PHP_FUNCTION(oci_lob_load) { zval *tmp, *z_descriptor; @@ -377,8 +368,7 @@ PHP_FUNCTION(oci_lob_load) } /* }}} */ -/* {{{ proto string oci_lob_read( int length ) - Reads particular part of a large object */ +/* {{{ Reads particular part of a large object */ PHP_FUNCTION(oci_lob_read) { zval *tmp, *z_descriptor; @@ -417,8 +407,7 @@ PHP_FUNCTION(oci_lob_read) } /* }}} */ -/* {{{ proto bool oci_lob_eof() - Checks if EOF is reached */ +/* {{{ Checks if EOF is reached */ PHP_FUNCTION(oci_lob_eof) { zval *tmp, *z_descriptor; @@ -445,8 +434,7 @@ PHP_FUNCTION(oci_lob_eof) } /* }}} */ -/* {{{ proto int oci_lob_tell() - Tells LOB pointer position */ +/* {{{ Tells LOB pointer position */ PHP_FUNCTION(oci_lob_tell) { zval *tmp, *z_descriptor; @@ -467,8 +455,7 @@ PHP_FUNCTION(oci_lob_tell) } /* }}} */ -/* {{{ proto bool oci_lob_rewind() - Rewind pointer of a LOB */ +/* {{{ Rewind pointer of a LOB */ PHP_FUNCTION(oci_lob_rewind) { zval *tmp, *z_descriptor; @@ -491,8 +478,7 @@ PHP_FUNCTION(oci_lob_rewind) } /* }}} */ -/* {{{ proto bool oci_lob_seek( int offset [, int whence ]) - Moves the pointer of a LOB */ +/* {{{ Moves the pointer of a LOB */ PHP_FUNCTION(oci_lob_seek) { zval *tmp, *z_descriptor; @@ -540,8 +526,7 @@ PHP_FUNCTION(oci_lob_seek) } /* }}} */ -/* {{{ proto int oci_lob_size() - Returns size of a large object */ +/* {{{ Returns size of a large object */ PHP_FUNCTION(oci_lob_size) { zval *tmp, *z_descriptor; @@ -566,8 +551,7 @@ PHP_FUNCTION(oci_lob_size) } /* }}} */ -/* {{{ proto int oci_lob_write( string string [, int length ]) - Writes data to current position of a LOB */ +/* {{{ Writes data to current position of a LOB */ PHP_FUNCTION(oci_lob_write) { zval *tmp, *z_descriptor; @@ -607,8 +591,7 @@ PHP_FUNCTION(oci_lob_write) } /* }}} */ -/* {{{ proto bool oci_lob_append( object lob ) - Appends data from a LOB to another LOB */ +/* {{{ Appends data from a LOB to another LOB */ PHP_FUNCTION(oci_lob_append) { zval *tmp_dest, *tmp_from, *z_descriptor_dest, *z_descriptor_from; @@ -639,8 +622,7 @@ PHP_FUNCTION(oci_lob_append) } /* }}} */ -/* {{{ proto bool oci_lob_truncate( [ int length ]) - Truncates a LOB */ +/* {{{ Truncates a LOB */ PHP_FUNCTION(oci_lob_truncate) { zval *tmp, *z_descriptor; @@ -672,8 +654,7 @@ PHP_FUNCTION(oci_lob_truncate) } /* }}} */ -/* {{{ proto int oci_lob_erase( [ int offset [, int length ] ] ) - Erases a specified portion of the internal LOB, starting at a specified offset */ +/* {{{ Erases a specified portion of the internal LOB, starting at a specified offset */ PHP_FUNCTION(oci_lob_erase) { zval *tmp, *z_descriptor; @@ -719,8 +700,7 @@ PHP_FUNCTION(oci_lob_erase) } /* }}} */ -/* {{{ proto bool oci_lob_flush( [ int flag ] ) - Flushes the LOB buffer */ +/* {{{ Flushes the LOB buffer */ PHP_FUNCTION(oci_lob_flush) { zval *tmp, *z_descriptor; @@ -750,8 +730,7 @@ PHP_FUNCTION(oci_lob_flush) } /* }}} */ -/* {{{ proto bool ocisetbufferinglob( boolean flag ) - Enables/disables buffering for a LOB */ +/* {{{ Enables/disables buffering for a LOB */ PHP_FUNCTION(ocisetbufferinglob) { zval *tmp, *z_descriptor; @@ -776,8 +755,7 @@ PHP_FUNCTION(ocisetbufferinglob) } /* }}} */ -/* {{{ proto bool ocigetbufferinglob() - Returns current state of buffering for a LOB */ +/* {{{ Returns current state of buffering for a LOB */ PHP_FUNCTION(ocigetbufferinglob) { zval *tmp, *z_descriptor; @@ -801,8 +779,7 @@ PHP_FUNCTION(ocigetbufferinglob) } /* }}} */ -/* {{{ proto bool oci_lob_copy( object lob_to, object lob_from [, int length ] ) - Copies data from a LOB to another LOB */ +/* {{{ Copies data from a LOB to another LOB */ PHP_FUNCTION(oci_lob_copy) { zval *tmp_dest, *tmp_from, *z_descriptor_dest, *z_descriptor_from; @@ -843,8 +820,7 @@ PHP_FUNCTION(oci_lob_copy) } /* }}} */ -/* {{{ proto bool oci_lob_is_equal( object lob1, object lob2 ) - Tests to see if two LOB/FILE locators are equal */ +/* {{{ Tests to see if two LOB/FILE locators are equal */ PHP_FUNCTION(oci_lob_is_equal) { zval *tmp_first, *tmp_second, *z_descriptor_first, *z_descriptor_second; @@ -879,8 +855,7 @@ PHP_FUNCTION(oci_lob_is_equal) } /* }}} */ -/* {{{ proto bool oci_lob_export([string filename [, int start [, int length]]]) - Writes a large object into a file */ +/* {{{ Writes a large object into a file */ PHP_FUNCTION(oci_lob_export) { zval *tmp, *z_descriptor; @@ -985,8 +960,7 @@ PHP_FUNCTION(oci_lob_export) } /* }}} */ -/* {{{ proto bool oci_lob_write_temporary(string var [, int lob_type]) - Writes temporary blob */ +/* {{{ Writes temporary blob */ PHP_FUNCTION(oci_lob_write_temporary) { zval *tmp, *z_descriptor; @@ -1013,8 +987,7 @@ PHP_FUNCTION(oci_lob_write_temporary) } /* }}} */ -/* {{{ proto bool oci_lob_close() - Closes lob descriptor */ +/* {{{ Closes lob descriptor */ PHP_FUNCTION(oci_lob_close) { zval *tmp, *z_descriptor; @@ -1038,8 +1011,7 @@ PHP_FUNCTION(oci_lob_close) } /* }}} */ -/* {{{ proto object oci_new_descriptor(resource connection [, int type]) - Initialize a new empty descriptor LOB/FILE (LOB is default) */ +/* {{{ Initialize a new empty descriptor LOB/FILE (LOB is default) */ PHP_FUNCTION(oci_new_descriptor) { zval *z_connection; @@ -1065,8 +1037,7 @@ PHP_FUNCTION(oci_new_descriptor) } /* }}} */ -/* {{{ proto bool oci_rollback(resource connection) - Rollback the current context */ +/* {{{ Rollback the current context */ PHP_FUNCTION(oci_rollback) { zval *z_connection; @@ -1089,8 +1060,7 @@ PHP_FUNCTION(oci_rollback) } /* }}} */ -/* {{{ proto bool oci_commit(resource connection) - Commit the current context */ +/* {{{ Commit the current context */ PHP_FUNCTION(oci_commit) { zval *z_connection; @@ -1113,8 +1083,7 @@ PHP_FUNCTION(oci_commit) } /* }}} */ -/* {{{ proto string oci_field_name(resource stmt, mixed col) - Tell the name of a column */ +/* {{{ Tell the name of a column */ PHP_FUNCTION(oci_field_name) { php_oci_out_column *column; @@ -1126,8 +1095,7 @@ PHP_FUNCTION(oci_field_name) } /* }}} */ -/* {{{ proto int oci_field_size(resource stmt, mixed col) - Tell the maximum data size of a column */ +/* {{{ Tell the maximum data size of a column */ PHP_FUNCTION(oci_field_size) { php_oci_out_column *column; @@ -1143,8 +1111,7 @@ PHP_FUNCTION(oci_field_size) } /* }}} */ -/* {{{ proto int oci_field_scale(resource stmt, mixed col) - Tell the scale of a column */ +/* {{{ Tell the scale of a column */ PHP_FUNCTION(oci_field_scale) { php_oci_out_column *column; @@ -1156,8 +1123,7 @@ PHP_FUNCTION(oci_field_scale) } /* }}} */ -/* {{{ proto int oci_field_precision(resource stmt, mixed col) - Tell the precision of a column */ +/* {{{ Tell the precision of a column */ PHP_FUNCTION(oci_field_precision) { php_oci_out_column *column; @@ -1169,8 +1135,7 @@ PHP_FUNCTION(oci_field_precision) } /* }}} */ -/* {{{ proto mixed oci_field_type(resource stmt, mixed col) - Tell the data type of a column */ +/* {{{ Tell the data type of a column */ PHP_FUNCTION(oci_field_type) { php_oci_out_column *column; @@ -1249,8 +1214,7 @@ PHP_FUNCTION(oci_field_type) } /* }}} */ -/* {{{ proto int oci_field_type_raw(resource stmt, mixed col) - Tell the raw oracle data type of a column */ +/* {{{ Tell the raw oracle data type of a column */ PHP_FUNCTION(oci_field_type_raw) { php_oci_out_column *column; @@ -1263,8 +1227,7 @@ PHP_FUNCTION(oci_field_type_raw) } /* }}} */ -/* {{{ proto bool oci_field_is_null(resource stmt, mixed col) - Tell whether a field in the current row is NULL */ +/* {{{ Tell whether a field in the current row is NULL */ PHP_FUNCTION(oci_field_is_null) { php_oci_out_column *column; @@ -1278,16 +1241,14 @@ PHP_FUNCTION(oci_field_is_null) } /* }}} */ -/* {{{ proto void oci_internal_debug(int onoff) - Toggle internal debugging output for the OCI extension */ +/* {{{ Toggle internal debugging output for the OCI extension */ PHP_FUNCTION(oci_internal_debug) { /* NOP in OCI8 2.0. Obsoleted by DTrace probes */ } /* }}} */ -/* {{{ proto bool oci_execute(resource stmt [, int mode]) - Execute a parsed statement */ +/* {{{ Execute a parsed statement */ PHP_FUNCTION(oci_execute) { zval *z_statement; @@ -1309,8 +1270,7 @@ PHP_FUNCTION(oci_execute) } /* }}} */ -/* {{{ proto bool oci_cancel(resource stmt) - Cancel reading from a cursor */ +/* {{{ Cancel reading from a cursor */ PHP_FUNCTION(oci_cancel) { zval *z_statement; @@ -1329,8 +1289,7 @@ PHP_FUNCTION(oci_cancel) } /* }}} */ -/* {{{ proto bool oci_fetch(resource stmt) - Prepare a new row of data for reading */ +/* {{{ Prepare a new row of data for reading */ PHP_FUNCTION(oci_fetch) { zval *z_statement; @@ -1350,16 +1309,14 @@ PHP_FUNCTION(oci_fetch) } /* }}} */ -/* {{{ proto int ocifetchinto(resource stmt, array &output [, int mode]) - Fetch a row of result data into an array */ +/* {{{ Fetch a row of result data into an array */ PHP_FUNCTION(ocifetchinto) { php_oci_fetch_row(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_OCI_NUM, 3); } /* }}} */ -/* {{{ proto int oci_fetch_all(resource stmt, array &output[, int skip[, int maxrows[, int flags]]]) - Fetch all rows of result data into an array */ +/* {{{ Fetch all rows of result data into an array */ PHP_FUNCTION(oci_fetch_all) { zval *z_statement, *array; @@ -1488,8 +1445,7 @@ PHP_FUNCTION(oci_fetch_all) } /* }}} */ -/* {{{ proto object oci_fetch_object( resource stmt ) - Fetch a result row as an object */ +/* {{{ Fetch a result row as an object */ PHP_FUNCTION(oci_fetch_object) { php_oci_fetch_row(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_OCI_ASSOC | PHP_OCI_RETURN_NULLS, 2); @@ -1500,32 +1456,28 @@ PHP_FUNCTION(oci_fetch_object) } /* }}} */ -/* {{{ proto array oci_fetch_row( resource stmt ) - Fetch a result row as an enumerated array */ +/* {{{ Fetch a result row as an enumerated array */ PHP_FUNCTION(oci_fetch_row) { php_oci_fetch_row(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_OCI_NUM | PHP_OCI_RETURN_NULLS, 1); } /* }}} */ -/* {{{ proto array oci_fetch_assoc( resource stmt ) - Fetch a result row as an associative array */ +/* {{{ Fetch a result row as an associative array */ PHP_FUNCTION(oci_fetch_assoc) { php_oci_fetch_row(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_OCI_ASSOC | PHP_OCI_RETURN_NULLS, 1); } /* }}} */ -/* {{{ proto array oci_fetch_array( resource stmt [, int mode ]) - Fetch a result row as an array */ +/* {{{ Fetch a result row as an array */ PHP_FUNCTION(oci_fetch_array) { php_oci_fetch_row(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_OCI_BOTH | PHP_OCI_RETURN_NULLS, 2); } /* }}} */ -/* {{{ proto bool oci_free_statement(resource stmt) - Free all resources associated with a statement */ +/* {{{ Free all resources associated with a statement */ PHP_FUNCTION(oci_free_statement) { zval *z_statement; @@ -1542,8 +1494,7 @@ PHP_FUNCTION(oci_free_statement) } /* }}} */ -/* {{{ proto bool oci_close(resource connection) - Disconnect from database */ +/* {{{ Disconnect from database */ PHP_FUNCTION(oci_close) { /* oci_close for pconnect (if old_oci_close_semantics not set) would @@ -1582,32 +1533,28 @@ PHP_FUNCTION(oci_close) } /* }}} */ -/* {{{ proto resource oci_new_connect(string user, string pass [, string db, string charset [, int session_mode ]]) - Connect to an Oracle database and log on. Returns a new session. */ +/* {{{ Connect to an Oracle database and log on. Returns a new session. */ PHP_FUNCTION(oci_new_connect) { php_oci_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0, 1); } /* }}} */ -/* {{{ proto resource oci_connect(string user, string pass [, string db [, string charset [, int session_mode ]]) - Connect to an Oracle database and log on. Returns a new session. */ +/* {{{ Connect to an Oracle database and log on. Returns a new session. */ PHP_FUNCTION(oci_connect) { php_oci_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0, 0); } /* }}} */ -/* {{{ proto resource oci_pconnect(string user, string pass [, string db [, string charset [, int session_mode ]]) - Connect to an Oracle database using a persistent connection and log on. Returns a new session. */ +/* {{{ Connect to an Oracle database using a persistent connection and log on. Returns a new session. */ PHP_FUNCTION(oci_pconnect) { php_oci_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1, 0); } /* }}} */ -/* {{{ proto array oci_error([resource stmt|connection|global]) - Return the last error of stmt|connection|global. If no error happened returns false. */ +/* {{{ Return the last error of stmt|connection|global. If no error happened returns false. */ PHP_FUNCTION(oci_error) { zval *arg = NULL; @@ -1679,8 +1626,7 @@ go_out: } /* }}} */ -/* {{{ proto int oci_num_fields(resource stmt) - Return the number of result columns in a statement */ +/* {{{ Return the number of result columns in a statement */ PHP_FUNCTION(oci_num_fields) { zval *z_statement; @@ -1696,8 +1642,7 @@ PHP_FUNCTION(oci_num_fields) } /* }}} */ -/* {{{ proto resource oci_parse(resource connection, string statement) - Parse a SQL or PL/SQL statement and return a statement resource */ +/* {{{ Parse a SQL or PL/SQL statement and return a statement resource */ PHP_FUNCTION(oci_parse) { zval *z_connection; @@ -1722,8 +1667,7 @@ PHP_FUNCTION(oci_parse) } /* }}} */ -/* {{{ proto bool oci_set_prefetch(resource stmt, int prefetch_rows) - Sets the number of rows to be prefetched on execute to prefetch_rows for stmt */ +/* {{{ Sets the number of rows to be prefetched on execute to prefetch_rows for stmt */ PHP_FUNCTION(oci_set_prefetch) { zval *z_statement; @@ -1749,8 +1693,7 @@ PHP_FUNCTION(oci_set_prefetch) } /* }}} */ -/* {{{ proto bool oci_set_client_identifier(resource connection, string value) - Sets the client identifier attribute on the connection */ +/* {{{ Sets the client identifier attribute on the connection */ PHP_FUNCTION(oci_set_client_identifier) { zval *z_connection; @@ -1801,8 +1744,7 @@ PHP_FUNCTION(oci_set_client_identifier) } /* }}} */ -/* {{{ proto bool oci_set_edition(string value) - Sets the edition attribute for all subsequent connections created */ +/* {{{ Sets the edition attribute for all subsequent connections created */ PHP_FUNCTION(oci_set_edition) { char *edition; @@ -1833,8 +1775,7 @@ PHP_FUNCTION(oci_set_edition) } /* }}} */ -/* {{{ proto bool oci_set_module_name(resource connection, string value) - Sets the module attribute on the connection for end-to-end tracing */ +/* {{{ Sets the module attribute on the connection for end-to-end tracing */ PHP_FUNCTION(oci_set_module_name) { zval *z_connection; @@ -1868,8 +1809,7 @@ PHP_FUNCTION(oci_set_module_name) } /* }}} */ -/* {{{ proto bool oci_set_action(resource connection, string value) - Sets the action attribute on the connection for end-to-end tracing */ +/* {{{ Sets the action attribute on the connection for end-to-end tracing */ PHP_FUNCTION(oci_set_action) { zval *z_connection; @@ -1903,8 +1843,7 @@ PHP_FUNCTION(oci_set_action) } /* }}} */ -/* {{{ proto bool oci_set_client_info(resource connection, string value) - Sets the client info attribute on the connection for end-to-end tracing */ +/* {{{ Sets the client info attribute on the connection for end-to-end tracing */ PHP_FUNCTION(oci_set_client_info) { zval *z_connection; @@ -1938,8 +1877,7 @@ PHP_FUNCTION(oci_set_client_info) } /* }}} */ -/* {{{ proto bool oci_set_db_operation(resource connection, string value) - Sets the "DB operation" on the connection for Oracle end-to-end tracing. +/* {{{ Sets the "DB operation" on the connection for Oracle end-to-end tracing. For history, see Oracle bug 16695981 */ PHP_FUNCTION(oci_set_db_operation) { @@ -1971,8 +1909,7 @@ PHP_FUNCTION(oci_set_db_operation) } /* }}} */ -/* {{{ proto bool oci_set_call_timeout(resource connection, int call_timeout) - */ +/* {{{ */ PHP_FUNCTION(oci_set_call_timeout) { zval *z_connection; @@ -2002,8 +1939,7 @@ PHP_FUNCTION(oci_set_call_timeout) } /* }}} */ -/* {{{ proto bool oci_password_change(resource connection, string username, string old_password, string new_password) - Changes the password of an account */ +/* {{{ Changes the password of an account */ PHP_FUNCTION(oci_password_change) { zval *z_connection; @@ -2056,8 +1992,7 @@ PHP_FUNCTION(oci_password_change) } /* }}} */ -/* {{{ proto resource oci_new_cursor(resource connection) - Return a new cursor (Statement-Handle) - use this to bind ref-cursors! */ +/* {{{ Return a new cursor (Statement-Handle) - use this to bind ref-cursors! */ PHP_FUNCTION(oci_new_cursor) { zval *z_connection; @@ -2079,8 +2014,7 @@ PHP_FUNCTION(oci_new_cursor) } /* }}} */ -/* {{{ proto string oci_result(resource stmt, mixed column) - Return a single column of result data */ +/* {{{ Return a single column of result data */ PHP_FUNCTION(oci_result) { php_oci_out_column *column; @@ -2095,8 +2029,7 @@ PHP_FUNCTION(oci_result) } /* }}} */ -/* {{{ proto string oci_client_version() - Return a string containing runtime client library version information */ +/* {{{ Return a string containing runtime client library version information */ PHP_FUNCTION(oci_client_version) { char version[256]; @@ -2107,8 +2040,7 @@ PHP_FUNCTION(oci_client_version) } /* }}} */ -/* {{{ proto string oci_server_version(resource connection) - Return a string containing server version information */ +/* {{{ Return a string containing server version information */ PHP_FUNCTION(oci_server_version) { zval *z_connection; @@ -2131,8 +2063,7 @@ PHP_FUNCTION(oci_server_version) } /* }}} */ -/* {{{ proto string oci_statement_type(resource stmt) - Return the query type of an OCI statement */ +/* {{{ Return the query type of an OCI statement */ PHP_FUNCTION(oci_statement_type) { zval *z_statement; @@ -2186,8 +2117,7 @@ PHP_FUNCTION(oci_statement_type) } /* }}} */ -/* {{{ proto int oci_num_rows(resource stmt) - Return the row count of an OCI statement */ +/* {{{ Return the row count of an OCI statement */ PHP_FUNCTION(oci_num_rows) { zval *z_statement; @@ -2207,8 +2137,7 @@ PHP_FUNCTION(oci_num_rows) } /* }}} */ -/* {{{ proto bool oci_free_collection() - Deletes collection object*/ +/* {{{ Deletes collection object*/ PHP_FUNCTION(oci_free_collection) { zval *tmp, *z_collection; @@ -2230,8 +2159,7 @@ PHP_FUNCTION(oci_free_collection) } /* }}} */ -/* {{{ proto bool oci_collection_append(string value) - Append an object to the collection */ +/* {{{ Append an object to the collection */ PHP_FUNCTION(oci_collection_append) { zval *tmp, *z_collection; @@ -2257,8 +2185,7 @@ PHP_FUNCTION(oci_collection_append) } /* }}} */ -/* {{{ proto string oci_collection_element_get(int ndx) - Retrieve the value at collection index ndx */ +/* {{{ Retrieve the value at collection index ndx */ PHP_FUNCTION(oci_collection_element_get) { zval *tmp, *z_collection; @@ -2282,8 +2209,7 @@ PHP_FUNCTION(oci_collection_element_get) } /* }}} */ -/* {{{ proto bool oci_collection_assign(object from) - Assign a collection from another existing collection */ +/* {{{ Assign a collection from another existing collection */ PHP_FUNCTION(oci_collection_assign) { zval *tmp_dest, *tmp_from, *z_collection_dest, *z_collection_from; @@ -2313,8 +2239,7 @@ PHP_FUNCTION(oci_collection_assign) } /* }}} */ -/* {{{ proto bool oci_collection_element_assign(int index, string val) - Assign element val to collection at index ndx */ +/* {{{ Assign element val to collection at index ndx */ PHP_FUNCTION(oci_collection_element_assign) { zval *tmp, *z_collection; @@ -2341,8 +2266,7 @@ PHP_FUNCTION(oci_collection_element_assign) } /* }}} */ -/* {{{ proto int oci_collection_size() - Return the size of a collection */ +/* {{{ Return the size of a collection */ PHP_FUNCTION(oci_collection_size) { zval *tmp, *z_collection; @@ -2367,8 +2291,7 @@ PHP_FUNCTION(oci_collection_size) } /* }}} */ -/* {{{ proto int oci_collection_max() - Return the max value of a collection. For a varray this is the maximum length of the array */ +/* {{{ Return the max value of a collection. For a varray this is the maximum length of the array */ PHP_FUNCTION(oci_collection_max) { zval *tmp, *z_collection; @@ -2393,8 +2316,7 @@ PHP_FUNCTION(oci_collection_max) } /* }}} */ -/* {{{ proto bool oci_collection_trim(int num) - Trim num elements from the end of a collection */ +/* {{{ Trim num elements from the end of a collection */ PHP_FUNCTION(oci_collection_trim) { zval *tmp, *z_collection; @@ -2419,8 +2341,7 @@ PHP_FUNCTION(oci_collection_trim) } /* }}} */ -/* {{{ proto object oci_new_collection(resource connection, string tdo [, string schema]) - Initialize a new collection */ +/* {{{ Initialize a new collection */ PHP_FUNCTION(oci_new_collection) { zval *z_connection; @@ -2445,8 +2366,7 @@ PHP_FUNCTION(oci_new_collection) } /* }}} */ -/* {{{ proto bool oci_get_implicit(resource stmt) - Get the next statement resource from an Oracle 12c PL/SQL Implicit Result Set */ +/* {{{ Get the next statement resource from an Oracle 12c PL/SQL Implicit Result Set */ PHP_FUNCTION(oci_get_implicit_resultset) { zval *z_statement; |