| /PHP_TRUNK/ext/oci8/ |
| H A D | oci8.c | 147 static int php_oci_create_session(php_oci_connection *connection, php_oci_spool *session_pool, char *dbname, int dbname_len, char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, int session_mode TSRMLS_DC); 148 static int php_oci_old_create_session(php_oci_connection *connection, char *dbname, int dbname_len, char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, int session_mode TSRMLS_DC); 151 static sword php_oci_ping_init(php_oci_connection *connection, OCIError *errh TSRMLS_DC); 1198 le_connection = zend_register_list_destructors_ex(php_oci_connection_list_dtor, NULL, "oci8 connection", module_number); 1199 le_pconnection = zend_register_list_destructors_ex(php_oci_pconnection_list_np_dtor, php_oci_pconnection_list_dtor, "oci8 persistent connection", module_number); 1389 * Non-persistent connection destructor 1393 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local 1395 if (connection) { 1396 php_oci_connection_close(connection TSRMLS_CC); 1403 * Persistent connection destructo 1407 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local 1423 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local 1729 php_oci_connection *connection; local 1763 php_oci_connection *connection = NULL; local 2428 php_oci_password_change(php_oci_connection *connection, char *user, int user_len, char *pass_old, int pass_old_len, char *pass_new, int pass_new_len TSRMLS_DC) argument 2469 php_oci_server_get_version(php_oci_connection *connection, char **version TSRMLS_DC) argument 2682 php_oci_connection *connection; local 2943 php_oci_old_create_session(php_oci_connection *connection, char *dbname, int dbname_len, char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, int session_mode TSRMLS_DC) argument 3116 php_oci_create_session(php_oci_connection *connection, php_oci_spool *session_pool, char *dbname, int dbname_len, char *username, int username_len, char *password, int password_len, char *new_password, int new_password_len, int session_mode TSRMLS_DC) argument 3321 php_oci_ping_init(php_oci_connection *connection, OCIError *errh TSRMLS_DC) argument [all...] |
| H A D | oci8_collection.c | 46 Create and return connection handle */ 47 php_oci_collection * php_oci_collection_create(php_oci_connection *connection, char *tdo, int tdo_len, char *schema, int schema_len TSRMLS_DC) argument 56 collection->connection = connection; 58 zend_list_addref(collection->connection->rsrc_id); 61 PHP_OCI_CALL_RETURN(connection->errcode, OCITypeByName, 63 connection->env, 64 connection->err, 65 connection->svc, 78 if (connection 243 php_oci_connection *connection = collection->connection; local 259 php_oci_connection *connection = collection->connection; local 271 php_oci_connection *connection = collection->connection; local 288 php_oci_connection *connection = collection->connection; local 307 php_oci_connection *connection = collection->connection; local 345 php_oci_connection *connection = collection->connection; local 388 php_oci_connection *connection = collection->connection; local 461 php_oci_connection *connection = collection->connection; local 575 php_oci_connection *connection = collection->connection; local 594 php_oci_connection *connection = collection->connection; local 633 php_oci_connection *connection = collection->connection; local 677 php_oci_connection *connection = collection->connection; local 751 php_oci_connection *connection = collection_dest->connection; local 767 php_oci_connection *connection = collection->connection; local [all...] |
| H A D | oci8_interface.c | 1067 /* {{{ proto object oci_new_descriptor(resource connection [, int type]) 1072 php_oci_connection *connection; local 1080 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); 1083 descriptor = php_oci_lob_create(connection, type TSRMLS_CC); 1094 /* {{{ proto bool oci_rollback(resource connection) 1099 php_oci_connection *connection; local 1105 PHP_OCI_ZVAL_TO_CONNECTION(z_connection, connection); 1107 if (connection->descriptors) { 1108 php_oci_connection_descriptors_free(connection TSRMLS_CC); 1111 if (php_oci_connection_rollback(connection TSRMLS_C 1123 php_oci_connection *connection; local 1574 php_oci_connection *connection; local 1624 php_oci_connection *connection; local 1713 php_oci_connection *connection; local 1759 php_oci_connection *connection; local 1817 php_oci_connection *connection; local 1848 php_oci_connection *connection; local 1879 php_oci_connection *connection; local 1911 php_oci_connection *connection; local 1971 php_oci_connection *connection; local 2021 php_oci_connection *connection; local 2377 php_oci_connection *connection; local [all...] |
| H A D | oci8_lob.c | 54 php_oci_descriptor *php_oci_lob_create (php_oci_connection *connection, long type TSRMLS_DC) argument 72 descriptor->connection = connection; 73 zend_list_addref(descriptor->connection->rsrc_id); 75 PHP_OCI_CALL_RETURN(OCI_G(errcode), OCIDescriptorAlloc, (connection->env, (dvoid*)&(descriptor->descriptor), descriptor->type, (size_t) 0, (dvoid **) 0)); 79 PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode)); 90 descriptor->charset_id = connection->charset; 95 if (!connection->descriptors) { 96 ALLOC_HASHTABLE(connection->descriptors); 97 zend_hash_init(connection 118 php_oci_connection *connection = descriptor->connection; local 209 php_oci_connection *connection = descriptor->connection; local 238 php_oci_connection *connection = descriptor->connection; local 430 php_oci_connection *connection = (php_oci_connection *) descriptor->connection; local 492 php_oci_connection *connection = descriptor->connection; local 534 php_oci_connection *connection = descriptor_dest->connection; local 581 php_oci_connection *connection = descriptor->connection; local 604 php_oci_connection *connection = descriptor->connection; local 633 php_oci_connection *connection = descriptor->connection; local 723 php_oci_connection *connection = descriptor->connection; local 777 php_oci_connection *connection = descriptor_dest->connection; local 808 php_oci_connection *connection = descriptor->connection; local 846 php_oci_connection *connection = descriptor->connection; local 880 php_oci_connection *connection = descriptor_first->connection; local 898 php_oci_connection *connection = descriptor->connection; local [all...] |
| H A D | oci8_statement.c | 46 php_oci_statement *php_oci_statement_create (php_oci_connection *connection, char *query, int query_len TSRMLS_DC) argument 54 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NULL)); 57 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NULL)); 60 PHP_OCI_CALL_RETURN(connection->errcode, OCIStmtPrepare2, 62 connection->svc, 64 connection->err, 73 if (connection->errcode != OCI_SUCCESS) { 74 connection->errcode = php_oci_error(connection->err, connection 874 php_oci_connection *connection = bind->parent_statement->connection; local [all...] |
| H A D | php_oci8_int.h | 132 HashTable *descriptors; /* descriptors hash, used to flush all the LOBs using this connection on commit */ 134 unsigned is_open:1; /* hels to determine if the connection is dead or not */ 135 unsigned is_attached:1; /* hels to determine if we should detach from the server when closing/freeing the connection */ 137 unsigned used_this_request:1; /* helps to determine if we should reset connection's next ping time and check its timeout */ 138 unsigned needs_commit:1; /* helps to determine if we should rollback this connection on close/shutdown */ 139 unsigned passwd_changed:1; /* helps determine if a persistent connection hash should be invalidated after a password change */ 140 unsigned is_stub:1; /* flag to keep track whether the connection structure has a real OCI connection associated */ 141 unsigned using_spool:1; /* Is this connection from session pool? */ 143 time_t idle_expiry; /* time when the connection wil 151 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon3 171 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon5 190 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon7 [all...] |
| /PHP_TRUNK/ext/sybase_ct/ |
| H A D | php_sybase_ct.c | 153 ZEND_ARG_INFO(0, connection) 340 if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS, 342 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Unable to get connection status on close"); 347 if ((con_status & CS_CONSTAT_DEAD) || ct_close(sybase_ptr->connection, CS_UNUSED)!=CS_SUCCEED) { 348 ct_close(sybase_ptr->connection, CS_FORCE_CLOSE); 353 ct_con_drop(sybase_ptr->connection); 367 if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS, 369 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Unable to get connection status on close"); 374 if ((con_status & CS_CONSTAT_DEAD) || ct_close(sybase_ptr->connection, CS_UNUSED)!=CS_SUCCEED) { 375 ct_close(sybase_ptr->connection, CS_FORCE_CLOS 386 _client_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, CS_CLIENTMSG *errmsg) argument 466 _server_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, CS_SERVERMSG *srvmsg) argument [all...] |
| H A D | php_sybase_ct.h | 80 CS_CONNECTION *connection; member in struct:__anon253
|
| /PHP_TRUNK/ext/soap/ |
| H A D | php_http.c | 132 (name_len != sizeof("connection")-1 || 133 strncasecmp(s, "connection", sizeof("connection")-1) != 0) && 349 char *connection; local 497 /* Check if keep-alive connection is still opened */ 1018 connection = get_http_header_value(http_headers,"Proxy-Connection: "); 1019 if (connection) { 1020 if (strncasecmp(connection, "close", sizeof("close")-1) == 0) { 1023 efree(connection); 1027 connection [all...] |