Searched defs:connection (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/oci8/
H A Doci8_collection.c46 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
57 collection->connection = connection;
59 zend_list_addref(collection->connection->id);
64 connection->env,
65 connection->err,
66 connection->svc,
84 PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, (connection->env, (dvoid **) &dschp1, (ub4) OCI_HTYPE_DESCRIBE, (size_t) 0, (dvoid **) 0));
93 connection
246 php_oci_connection *connection = collection->connection; local
265 php_oci_connection *connection = collection->connection; local
278 php_oci_connection *connection = collection->connection; local
298 php_oci_connection *connection = collection->connection; local
320 php_oci_connection *connection = collection->connection; local
361 php_oci_connection *connection = collection->connection; local
401 php_oci_connection *connection = collection->connection; local
478 php_oci_connection *connection = collection->connection; local
596 php_oci_connection *connection = collection->connection; local
618 php_oci_connection *connection = collection->connection; local
660 php_oci_connection *connection = collection->connection; local
701 php_oci_connection *connection = collection->connection; local
779 php_oci_connection *connection = collection_dest->connection; local
798 php_oci_connection *connection = collection->connection; local
[all...]
H A Doci8_lob.c54 php_oci_descriptor *php_oci_lob_create (php_oci_connection *connection, long type TSRMLS_DC) argument
73 descriptor->connection = connection;
74 zend_list_addref(descriptor->connection->id);
76 PHP_OCI_CALL_RETURN(errstatus, OCIDescriptorAlloc, (connection->env, (dvoid*)&(descriptor->descriptor), descriptor->type, (size_t) 0, (dvoid **) 0));
80 PHP_OCI_HANDLE_ERROR(connection, OCI_G(errcode));
93 descriptor->charset_id = connection->charset;
99 if (!connection->descriptors) {
100 ALLOC_HASHTABLE(connection->descriptors);
101 zend_hash_init(connection
123 php_oci_connection *connection = descriptor->connection; local
215 php_oci_connection *connection = descriptor->connection; local
246 php_oci_connection *connection = descriptor->connection; local
407 php_oci_connection *connection = (php_oci_connection *) descriptor->connection; local
472 php_oci_connection *connection = descriptor->connection; local
518 php_oci_connection *connection = descriptor_dest->connection; local
568 php_oci_connection *connection = descriptor->connection; local
594 php_oci_connection *connection = descriptor->connection; local
625 php_oci_connection *connection = descriptor->connection; local
719 php_oci_connection *connection = descriptor->connection; local
777 php_oci_connection *connection = descriptor_dest->connection; local
811 php_oci_connection *connection = descriptor->connection; local
853 php_oci_connection *connection = descriptor->connection; local
890 php_oci_connection *connection = descriptor_first->connection; local
911 php_oci_connection *connection = descriptor->connection; local
[all...]
H A Dphp_oci8_int.h146 HashTable *descriptors; /* descriptors hash, used to flush all the LOBs using this connection on commit */
148 unsigned is_open:1; /* hels to determine if the connection is dead or not */
149 unsigned is_attached:1; /* hels to determine if we should detach from the server when closing/freeing the connection */
151 unsigned used_this_request:1; /* helps to determine if we should reset connection's next ping time and check its timeout */
152 unsigned rb_on_disconnect:1; /* helps to determine if we should rollback this connection on close/shutdown */
153 unsigned passwd_changed:1; /* helps determine if a persistent connection hash should be invalidated after a password change */
154 unsigned is_stub:1; /* flag to keep track whether the connection structure has a real OCI connection associated */
155 unsigned using_spool:1; /* Is this connection from session pool? */
156 time_t idle_expiry; /* time when the connection wil
169 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon106
193 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon108
218 php_oci_connection *connection; /* parent connection handle */ member in struct:__anon110
[all...]
H A Doci8.c138 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);
139 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);
142 static sword php_oci_ping_init(php_oci_connection *connection, OCIError *errh TSRMLS_DC);
1197 le_connection = zend_register_list_destructors_ex(php_oci_connection_list_dtor, NULL, "oci8 connection", module_number);
1198 le_pconnection = zend_register_list_destructors_ex(php_oci_pconnection_list_np_dtor, php_oci_pconnection_list_dtor, "oci8 persistent connection", module_number);
1398 * Non-persistent connection destructor
1402 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local
1404 if (connection) {
1405 php_oci_connection_close(connection TSRMLS_CC);
1413 * Persistent connection destructo
1417 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local
1434 php_oci_connection *connection = (php_oci_connection *)entry->ptr; local
1758 php_oci_connection *connection; local
1807 php_oci_connection *connection = NULL; local
2487 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
2531 php_oci_server_get_version(php_oci_connection *connection, char **version TSRMLS_DC) argument
2807 php_oci_connection *connection; local
3078 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
3261 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
3472 php_oci_ping_init(php_oci_connection *connection, OCIError *errh TSRMLS_DC) argument
3514 php_oci_dtrace_check_connection(php_oci_connection *connection, sb4 errcode, ub4 serverStatus) argument
[all...]
H A Doci8_interface.c1067 /* {{{ 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
1557 php_oci_connection *connection; local
1607 php_oci_connection *connection; local
1696 php_oci_connection *connection; local
1747 php_oci_connection *connection; local
1831 php_oci_connection *connection; local
1863 php_oci_connection *connection; local
1895 php_oci_connection *connection; local
1928 php_oci_connection *connection; local
1960 php_oci_connection *connection; local
2020 php_oci_connection *connection; local
2070 php_oci_connection *connection; local
2426 php_oci_connection *connection; local
[all...]
H A Doci8_statement.c46 php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_len TSRMLS_DC) argument
51 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */
57 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NULL));
60 PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NULL));
65 connection->svc,
67 connection->err,
78 DTRACE_OCI8_SQLTEXT(connection, connection->client_id, statement, query);
83 connection->errcode = php_oci_error(connection
968 php_oci_connection *connection = bind->parent_statement->connection; local
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.h80 CS_CONNECTION *connection; member in struct:__anon272
H A Dphp_sybase_ct.c153 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...]
/PHP_TRUNK/ext/soap/
H A Dphp_http.c130 (name_len != sizeof("connection")-1 ||
131 strncasecmp(s, "connection", sizeof("connection")-1) != 0) &&
346 char *connection; local
492 /* Check if keep-alive connection is still opened */
1010 connection = get_http_header_value(http_headers,"Proxy-Connection: ");
1011 if (connection) {
1012 if (strncasecmp(connection, "close", sizeof("close")-1) == 0) {
1015 efree(connection);
1019 connection
[all...]

Completed in 17 milliseconds