SybCtG            229 ext/sybase_ct/php_sybase_ct.c 	SybCtG(num_links)--;
SybCtG            255 ext/sybase_ct/php_sybase_ct.c 	SybCtG(num_persistent)--;
SybCtG            256 ext/sybase_ct/php_sybase_ct.c 	SybCtG(num_links)--;
SybCtG            264 ext/sybase_ct/php_sybase_ct.c 	if (CS_SEVERITY(errmsg->msgnumber) >= SybCtG(min_client_severity)) {
SybCtG            267 ext/sybase_ct/php_sybase_ct.c 	STR_FREE(SybCtG(server_message));
SybCtG            268 ext/sybase_ct/php_sybase_ct.c 	SybCtG(server_message) = estrdup(errmsg->msgstring);
SybCtG            339 ext/sybase_ct/php_sybase_ct.c 	STR_FREE(SybCtG(server_message));
SybCtG            340 ext/sybase_ct/php_sybase_ct.c 	SybCtG(server_message) = estrdup(srvmsg->text);
SybCtG            356 ext/sybase_ct/php_sybase_ct.c 	if (srvmsg->severity < SybCtG(min_server_severity)) {
SybCtG            361 ext/sybase_ct/php_sybase_ct.c 	handled = handled | _call_message_handler(SybCtG(callback_name), srvmsg TSRMLS_CC);
SybCtG            461 ext/sybase_ct/php_sybase_ct.c 	SybCtG(default_link)=-1;
SybCtG            462 ext/sybase_ct/php_sybase_ct.c 	SybCtG(num_links) = SybCtG(num_persistent);
SybCtG            463 ext/sybase_ct/php_sybase_ct.c 	SybCtG(appname) = estrndup("PHP " PHP_VERSION, sizeof("PHP " PHP_VERSION));
SybCtG            464 ext/sybase_ct/php_sybase_ct.c 	SybCtG(server_message) = STR_EMPTY_ALLOC();
SybCtG            483 ext/sybase_ct/php_sybase_ct.c 	efree(SybCtG(appname));
SybCtG            484 ext/sybase_ct/php_sybase_ct.c 	SybCtG(appname) = NULL;
SybCtG            485 ext/sybase_ct/php_sybase_ct.c 	if (SybCtG(callback_name)) {
SybCtG            486 ext/sybase_ct/php_sybase_ct.c 		zval_ptr_dtor(&SybCtG(callback_name));
SybCtG            487 ext/sybase_ct/php_sybase_ct.c 		SybCtG(callback_name)= NULL;
SybCtG            489 ext/sybase_ct/php_sybase_ct.c 	STR_FREE(SybCtG(server_message));
SybCtG            490 ext/sybase_ct/php_sybase_ct.c 	SybCtG(server_message) = NULL;
SybCtG            501 ext/sybase_ct/php_sybase_ct.c 	if (ct_con_alloc(SybCtG(context), &sybase->connection)!=CS_SUCCEED) {
SybCtG            522 ext/sybase_ct/php_sybase_ct.c 		ct_con_props(sybase->connection, CS_SET, CS_APPNAME, SybCtG(appname), CS_NULLTERM, NULL);
SybCtG            525 ext/sybase_ct/php_sybase_ct.c 	if (SybCtG(hostname)) {
SybCtG            526 ext/sybase_ct/php_sybase_ct.c 		ct_con_props(sybase->connection, CS_SET, CS_HOSTNAME, SybCtG(hostname), CS_NULLTERM, NULL);
SybCtG            530 ext/sybase_ct/php_sybase_ct.c 		if (cs_loc_alloc(SybCtG(context), &tmp_locale)!=CS_SUCCEED) {
SybCtG            533 ext/sybase_ct/php_sybase_ct.c 			if (cs_locale(SybCtG(context), CS_SET, tmp_locale, CS_LC_ALL, NULL, CS_NULLTERM, NULL)!=CS_SUCCEED) {
SybCtG            536 ext/sybase_ct/php_sybase_ct.c 				if (cs_locale(SybCtG(context), CS_SET, tmp_locale, CS_SYB_CHARSET, charset, CS_NULLTERM, NULL)!=CS_SUCCEED) {
SybCtG            565 ext/sybase_ct/php_sybase_ct.c 	if (SybCtG(login_timeout) != -1) {
SybCtG            566 ext/sybase_ct/php_sybase_ct.c 		CS_INT cs_login_timeout = SybCtG(login_timeout);
SybCtG            567 ext/sybase_ct/php_sybase_ct.c 		if (ct_config(SybCtG(context), CS_SET, CS_LOGIN_TIMEOUT, &cs_login_timeout, CS_UNUSED, NULL)!=CS_SUCCEED) {
SybCtG            693 ext/sybase_ct/php_sybase_ct.c 	if (!SybCtG(allow_persistent)) {
SybCtG            703 ext/sybase_ct/php_sybase_ct.c 			if (SybCtG(max_links)!=-1 && SybCtG(num_links)>=SybCtG(max_links)) {
SybCtG            704 ext/sybase_ct/php_sybase_ct.c 				php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Too many open links (%ld)", SybCtG(num_links));
SybCtG            708 ext/sybase_ct/php_sybase_ct.c 			if (SybCtG(max_persistent)!=-1 && SybCtG(num_persistent)>=SybCtG(max_persistent)) {
SybCtG            709 ext/sybase_ct/php_sybase_ct.c 				php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Too many open persistent links (%ld)", SybCtG(num_persistent));
SybCtG            731 ext/sybase_ct/php_sybase_ct.c 			SybCtG(num_persistent)++;
SybCtG            732 ext/sybase_ct/php_sybase_ct.c 			SybCtG(num_links)++;
SybCtG            798 ext/sybase_ct/php_sybase_ct.c 				Z_LVAL_P(return_value) = SybCtG(default_link) = link;
SybCtG            806 ext/sybase_ct/php_sybase_ct.c 		if (SybCtG(max_links)!=-1 && SybCtG(num_links)>=SybCtG(max_links)) {
SybCtG            807 ext/sybase_ct/php_sybase_ct.c 			php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Too many open links (%ld)", SybCtG(num_links));
SybCtG            832 ext/sybase_ct/php_sybase_ct.c 		SybCtG(num_links)++;
SybCtG            835 ext/sybase_ct/php_sybase_ct.c 	SybCtG(default_link)=Z_LVAL_P(return_value);
SybCtG            836 ext/sybase_ct/php_sybase_ct.c 	zend_list_addref(SybCtG(default_link));
SybCtG            842 ext/sybase_ct/php_sybase_ct.c 	if (SybCtG(default_link)==-1) { /* no link opened yet, implicitly open one */
SybCtG            846 ext/sybase_ct/php_sybase_ct.c 	return SybCtG(default_link);
SybCtG            879 ext/sybase_ct/php_sybase_ct.c 			id = SybCtG(default_link);
SybCtG            898 ext/sybase_ct/php_sybase_ct.c 	if (id != -1 || (sybase_link_index && Z_RESVAL_PP(sybase_link_index)==SybCtG(default_link))) {
SybCtG            899 ext/sybase_ct/php_sybase_ct.c 		zend_list_delete(SybCtG(default_link));
SybCtG            900 ext/sybase_ct/php_sybase_ct.c 		SybCtG(default_link) = -1;
SybCtG           1377 ext/sybase_ct/php_sybase_ct.c 			id = SybCtG(default_link);
SybCtG           1591 ext/sybase_ct/php_sybase_ct.c 		if (sybase_ptr->deadlock && SybCtG(deadlock_retry_count) != -1 && ++deadlock_count > SybCtG(deadlock_retry_count)) {
SybCtG           1592 ext/sybase_ct/php_sybase_ct.c 			php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Retried deadlock %d times [max: %ld], giving up", deadlock_count- 1, SybCtG(deadlock_retry_count));
SybCtG           1684 ext/sybase_ct/php_sybase_ct.c 	RETURN_STRING(SybCtG(server_message), 1);
SybCtG           2130 ext/sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(num_persistent));
SybCtG           2132 ext/sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(num_links));
SybCtG           2134 ext/sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(min_server_severity));
SybCtG           2136 ext/sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(min_client_severity));
SybCtG           2138 ext/sybase_ct/php_sybase_ct.c 	php_info_print_table_row(2, "Application Name", SybCtG(appname));
SybCtG           2139 ext/sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(deadlock_retry_count));
SybCtG           2157 ext/sybase_ct/php_sybase_ct.c 	SybCtG(min_client_severity) = Z_LVAL_PP(severity);
SybCtG           2172 ext/sybase_ct/php_sybase_ct.c 	SybCtG(min_server_severity) = Z_LVAL_PP(severity);
SybCtG           2186 ext/sybase_ct/php_sybase_ct.c 	SybCtG(deadlock_retry_count) = Z_LVAL_PP(retry_count);
SybCtG           2205 ext/sybase_ct/php_sybase_ct.c 			callback = &SybCtG(callback_name);