SybCtG            355 sybase_ct/php_sybase_ct.c 	SybCtG(num_links)--;
SybCtG            381 sybase_ct/php_sybase_ct.c 	SybCtG(num_persistent)--;
SybCtG            382 sybase_ct/php_sybase_ct.c 	SybCtG(num_links)--;
SybCtG            390 sybase_ct/php_sybase_ct.c 	if (CS_SEVERITY(errmsg->msgnumber) >= SybCtG(min_client_severity)) {
SybCtG            393 sybase_ct/php_sybase_ct.c 	STR_FREE(SybCtG(server_message));
SybCtG            394 sybase_ct/php_sybase_ct.c 	SybCtG(server_message) = estrdup(errmsg->msgstring);
SybCtG            473 sybase_ct/php_sybase_ct.c 	STR_FREE(SybCtG(server_message));
SybCtG            474 sybase_ct/php_sybase_ct.c 	SybCtG(server_message) = estrdup(srvmsg->text);
SybCtG            490 sybase_ct/php_sybase_ct.c 	if (srvmsg->severity < SybCtG(min_server_severity)) {
SybCtG            495 sybase_ct/php_sybase_ct.c 	handled = handled | _call_message_handler(SybCtG(callback_name), srvmsg TSRMLS_CC);
SybCtG            595 sybase_ct/php_sybase_ct.c 	SybCtG(default_link)=-1;
SybCtG            596 sybase_ct/php_sybase_ct.c 	SybCtG(num_links) = SybCtG(num_persistent);
SybCtG            597 sybase_ct/php_sybase_ct.c 	SybCtG(appname) = estrndup("PHP " PHP_VERSION, sizeof("PHP " PHP_VERSION));
SybCtG            598 sybase_ct/php_sybase_ct.c 	SybCtG(server_message) = STR_EMPTY_ALLOC();
SybCtG            617 sybase_ct/php_sybase_ct.c 	efree(SybCtG(appname));
SybCtG            618 sybase_ct/php_sybase_ct.c 	SybCtG(appname) = NULL;
SybCtG            619 sybase_ct/php_sybase_ct.c 	if (SybCtG(callback_name)) {
SybCtG            620 sybase_ct/php_sybase_ct.c 		zval_ptr_dtor(&SybCtG(callback_name));
SybCtG            621 sybase_ct/php_sybase_ct.c 		SybCtG(callback_name)= NULL;
SybCtG            623 sybase_ct/php_sybase_ct.c 	STR_FREE(SybCtG(server_message));
SybCtG            624 sybase_ct/php_sybase_ct.c 	SybCtG(server_message) = NULL;
SybCtG            635 sybase_ct/php_sybase_ct.c 	if (ct_con_alloc(SybCtG(context), &sybase->connection)!=CS_SUCCEED) {
SybCtG            656 sybase_ct/php_sybase_ct.c 		ct_con_props(sybase->connection, CS_SET, CS_APPNAME, SybCtG(appname), CS_NULLTERM, NULL);
SybCtG            659 sybase_ct/php_sybase_ct.c 	if (SybCtG(hostname)) {
SybCtG            660 sybase_ct/php_sybase_ct.c 		ct_con_props(sybase->connection, CS_SET, CS_HOSTNAME, SybCtG(hostname), CS_NULLTERM, NULL);
SybCtG            664 sybase_ct/php_sybase_ct.c 		if (cs_loc_alloc(SybCtG(context), &tmp_locale)!=CS_SUCCEED) {
SybCtG            667 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            670 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            699 sybase_ct/php_sybase_ct.c 	if (SybCtG(login_timeout) != -1) {
SybCtG            700 sybase_ct/php_sybase_ct.c 		CS_INT cs_login_timeout = SybCtG(login_timeout);
SybCtG            701 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            758 sybase_ct/php_sybase_ct.c 	if (!SybCtG(allow_persistent)) {
SybCtG            768 sybase_ct/php_sybase_ct.c 			if (SybCtG(max_links)!=-1 && SybCtG(num_links)>=SybCtG(max_links)) {
SybCtG            769 sybase_ct/php_sybase_ct.c 				php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Too many open links (%ld)", SybCtG(num_links));
SybCtG            773 sybase_ct/php_sybase_ct.c 			if (SybCtG(max_persistent)!=-1 && SybCtG(num_persistent)>=SybCtG(max_persistent)) {
SybCtG            774 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            800 sybase_ct/php_sybase_ct.c 			SybCtG(num_persistent)++;
SybCtG            801 sybase_ct/php_sybase_ct.c 			SybCtG(num_links)++;
SybCtG            867 sybase_ct/php_sybase_ct.c 				Z_LVAL_P(return_value) = SybCtG(default_link) = link;
SybCtG            875 sybase_ct/php_sybase_ct.c 		if (SybCtG(max_links)!=-1 && SybCtG(num_links)>=SybCtG(max_links)) {
SybCtG            876 sybase_ct/php_sybase_ct.c 			php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase:  Too many open links (%ld)", SybCtG(num_links));
SybCtG            901 sybase_ct/php_sybase_ct.c 		SybCtG(num_links)++;
SybCtG            904 sybase_ct/php_sybase_ct.c 	SybCtG(default_link)=Z_LVAL_P(return_value);
SybCtG            905 sybase_ct/php_sybase_ct.c 	zend_list_addref(SybCtG(default_link));
SybCtG            911 sybase_ct/php_sybase_ct.c 	if (SybCtG(default_link)==-1) { /* no link opened yet, implicitly open one */
SybCtG            915 sybase_ct/php_sybase_ct.c 	return SybCtG(default_link);
SybCtG            940 sybase_ct/php_sybase_ct.c 		if (-1 == SybCtG(default_link)) {
SybCtG            943 sybase_ct/php_sybase_ct.c 		*id = SybCtG(default_link);
SybCtG            972 sybase_ct/php_sybase_ct.c 	if (id != -1 || (sybase_link_index && Z_RESVAL_P(sybase_link_index) == SybCtG(default_link))) {
SybCtG            973 sybase_ct/php_sybase_ct.c 		zend_list_delete(SybCtG(default_link));
SybCtG            974 sybase_ct/php_sybase_ct.c 		SybCtG(default_link) = -1;
SybCtG           1632 sybase_ct/php_sybase_ct.c 		if (sybase_ptr->deadlock && SybCtG(deadlock_retry_count) != -1 && ++deadlock_count > SybCtG(deadlock_retry_count)) {
SybCtG           1633 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           1714 sybase_ct/php_sybase_ct.c 	RETURN_STRING(SybCtG(server_message), 1);
SybCtG           2125 sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(num_persistent));
SybCtG           2127 sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(num_links));
SybCtG           2129 sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(min_server_severity));
SybCtG           2131 sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(min_client_severity));
SybCtG           2133 sybase_ct/php_sybase_ct.c 	php_info_print_table_row(2, "Application Name", SybCtG(appname));
SybCtG           2134 sybase_ct/php_sybase_ct.c 	snprintf(buf, sizeof(buf), "%ld", SybCtG(deadlock_retry_count));
SybCtG           2152 sybase_ct/php_sybase_ct.c 	SybCtG(min_client_severity) = severity;
SybCtG           2167 sybase_ct/php_sybase_ct.c 	SybCtG(min_server_severity) = severity;
SybCtG           2181 sybase_ct/php_sybase_ct.c 	SybCtG(deadlock_retry_count) = retry_count;
SybCtG           2205 sybase_ct/php_sybase_ct.c 		callback= &SybCtG(callback_name);
SybCtG           2214 sybase_ct/php_sybase_ct.c 		callback= &SybCtG(callback_name);