IBG               157 ext/interbase/ibase_events.c 		ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), "InterBase link", le_link, le_plink);
IBG               301 ext/interbase/ibase_events.c 		ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link),
IBG               303 ext/interbase/ibase_events.c 		link_res_id = IBG(default_link);
IBG              1092 ext/interbase/ibase_query.c 				} else if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >= l)) {
IBG              1116 ext/interbase/ibase_query.c 					IBG(default_link) = Z_LVAL_P(return_value);
IBG              1117 ext/interbase/ibase_query.c 					++IBG(num_links);
IBG              1125 ext/interbase/ibase_query.c 				ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK,
IBG              1197 ext/interbase/ibase_query.c 			ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK,
IBG              1748 ext/interbase/ibase_query.c 			ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK,
IBG               210 ext/interbase/interbase.c 	if (IBG(sql_code) != 0) {
IBG               211 ext/interbase/interbase.c 		RETURN_STRING(IBG(errmsg), 1);
IBG               226 ext/interbase/interbase.c 	if (IBG(sql_code) != 0) {
IBG               227 ext/interbase/interbase.c 		RETURN_LONG(IBG(sql_code));
IBG               236 ext/interbase/interbase.c 	char *s = IBG(errmsg);
IBG               239 ext/interbase/interbase.c 	IBG(sql_code) = isc_sqlcode(IB_STATUS);
IBG               241 ext/interbase/interbase.c 	while ((s - IBG(errmsg)) < MAX_ERRMSG - (IBASE_MSGSIZE + 2) && isc_interprete(s, &statusp)) {
IBG               242 ext/interbase/interbase.c 		strcat(IBG(errmsg), " ");
IBG               243 ext/interbase/interbase.c 		s = IBG(errmsg) + strlen(IBG(errmsg));
IBG               246 ext/interbase/interbase.c 	php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", IBG(errmsg));
IBG               262 ext/interbase/interbase.c 	vsnprintf(IBG(errmsg), MAX_ERRMSG, msg, ap);
IBG               265 ext/interbase/interbase.c 	IBG(sql_code) = -999; /* no SQL error */
IBG               267 ext/interbase/interbase.c 	php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", IBG(errmsg));
IBG               376 ext/interbase/interbase.c 	IBG(num_links)--;
IBG               390 ext/interbase/interbase.c 	IBG(num_persistent)--;
IBG               391 ext/interbase/interbase.c 	IBG(num_links)--;
IBG               524 ext/interbase/interbase.c 	IBG(num_links) = IBG(num_persistent);
IBG               525 ext/interbase/interbase.c 	IBG(default_link)= -1;
IBG               681 ext/interbase/interbase.c 			RETURN_RESOURCE(IBG(default_link) = xlink);
IBG               712 ext/interbase/interbase.c 		if ((l = INI_INT("ibase.max_links")) != -1 && IBG(num_links) >= l) {
IBG               713 ext/interbase/interbase.c 			_php_ibase_module_error("Too many open links (%ld)" TSRMLS_CC, IBG(num_links));
IBG               723 ext/interbase/interbase.c 		if (!persistent || ((l = INI_INT("ibase.max_persistent") != -1) && IBG(num_persistent) >= l)) {
IBG               740 ext/interbase/interbase.c 			++IBG(num_persistent);
IBG               747 ext/interbase/interbase.c 		++IBG(num_links);
IBG               757 ext/interbase/interbase.c 	zend_list_addref(IBG(default_link) = Z_LVAL_P(return_value));
IBG               789 ext/interbase/interbase.c 			link_id = IBG(default_link);
IBG               790 ext/interbase/interbase.c 			IBG(default_link) = -1;
IBG               823 ext/interbase/interbase.c 			link_id = IBG(default_link);
IBG               824 ext/interbase/interbase.c 			IBG(default_link) = -1;
IBG               962 ext/interbase/interbase.c 		ZEND_FETCH_RESOURCE2(ib_link[0], ibase_db_link *, NULL, IBG(default_link), LE_LINK, 
IBG              1053 ext/interbase/interbase.c 			ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, 
IBG                36 ext/interbase/php_ibase_includes.h #define RESET_ERRMSG do { IBG(errmsg)[0] = '\0'; IBG(sql_code) = 0; } while (0)
IBG                38 ext/interbase/php_ibase_includes.h #define IB_STATUS (IBG(status))
IBG               161 ext/interbase/php_ibase_includes.h 			ZEND_FETCH_RESOURCE2(lh, ibase_db_link *, NULL, IBG(default_link),				\