Lines Matching refs:connection
153 ZEND_ARG_INFO(0, connection)
340 if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS, in _close_sybase_link()
347 if ((con_status & CS_CONSTAT_DEAD) || ct_close(sybase_ptr->connection, CS_UNUSED)!=CS_SUCCEED) { in _close_sybase_link()
348 ct_close(sybase_ptr->connection, CS_FORCE_CLOSE); in _close_sybase_link()
353 ct_con_drop(sybase_ptr->connection); in _close_sybase_link()
367 if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS, in _close_sybase_plink()
374 if ((con_status & CS_CONSTAT_DEAD) || ct_close(sybase_ptr->connection, CS_UNUSED)!=CS_SUCCEED) { in _close_sybase_plink()
375 ct_close(sybase_ptr->connection, CS_FORCE_CLOSE); in _close_sybase_plink()
379 ct_con_drop(sybase_ptr->connection); in _close_sybase_plink()
386 static CS_RETCODE CS_PUBLIC _client_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection,… in _client_message_handler() argument
466 static CS_RETCODE CS_PUBLIC _server_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection,… in _server_message_handler() argument
477 …if (ct_con_props(connection, CS_GET, CS_USERDATA, &sybase, CS_SIZEOF(sybase), NULL) != CS_SUCCEED)… in _server_message_handler()
635 if (ct_con_alloc(SybCtG(context), &sybase->connection)!=CS_SUCCEED) { in php_sybase_do_connect_internal()
641 …if (ct_con_props(sybase->connection, CS_SET, CS_USERDATA, &sybase, CS_SIZEOF(sybase), NULL)!=CS_SU… in php_sybase_do_connect_internal()
643 ct_con_drop(sybase->connection); in php_sybase_do_connect_internal()
648 ct_con_props(sybase->connection, CS_SET, CS_USERNAME, user, CS_NULLTERM, NULL); in php_sybase_do_connect_internal()
651 ct_con_props(sybase->connection, CS_SET, CS_PASSWORD, passwd, CS_NULLTERM, NULL); in php_sybase_do_connect_internal()
654 ct_con_props(sybase->connection, CS_SET, CS_APPNAME, appname, CS_NULLTERM, NULL); in php_sybase_do_connect_internal()
656 ct_con_props(sybase->connection, CS_SET, CS_APPNAME, SybCtG(appname), CS_NULLTERM, NULL); in php_sybase_do_connect_internal()
660 ct_con_props(sybase->connection, CS_SET, CS_HOSTNAME, SybCtG(hostname), CS_NULLTERM, NULL); in php_sybase_do_connect_internal()
673 …if (ct_con_props(sybase->connection, CS_SET, CS_LOC_PROP, tmp_locale, CS_UNUSED, NULL)!=CS_SUCCEED… in php_sybase_do_connect_internal()
682 …if (ct_con_props(sybase->connection, CS_SET, CS_PACKETSIZE, (CS_VOID *)&packetsize, CS_UNUSED, NUL… in php_sybase_do_connect_internal()
712 if (ct_connect(sybase->connection, host, CS_NULLTERM)!=CS_SUCCEED) { in php_sybase_do_connect_internal()
714 ct_con_drop(sybase->connection); in php_sybase_do_connect_internal()
718 if (ct_cmd_alloc(sybase->connection, &sybase->cmd)!=CS_SUCCEED) { in php_sybase_do_connect_internal()
720 ct_close(sybase->connection, CS_UNUSED); in php_sybase_do_connect_internal()
721 ct_con_drop(sybase->connection); in php_sybase_do_connect_internal()
794 ct_close(sybase_ptr->connection, CS_UNUSED); in php_sybase_do_connect()
795 ct_con_drop(sybase_ptr->connection); in php_sybase_do_connect()
814 if (ct_con_props(sybase_ptr->connection, CS_GET, CS_CON_STATUS, in php_sybase_do_connect()
824 ct_close(sybase_ptr->connection, CS_FORCE_CLOSE); in php_sybase_do_connect()
843 ct_con_drop(sybase.connection); /* drop old connection */ in php_sybase_do_connect()
895 ct_close(sybase_ptr->connection, CS_UNUSED); in php_sybase_do_connect()
896 ct_con_drop(sybase_ptr->connection); in php_sybase_do_connect()