IBG 156 ext/interbase/ibase_events.c if (!ZEND_FETCH_RESOURCE2_NO_RETURN(ib_link, ibase_db_link *, NULL, IBG(default_link), "InterBase link", le_link, le_plink)) { IBG 318 ext/interbase/ibase_events.c if (!ZEND_FETCH_RESOURCE2_NO_RETURN(ib_link, ibase_db_link *, NULL, IBG(default_link), "InterBase link", le_link, le_plink)) { IBG 322 ext/interbase/ibase_events.c link_res_id = IBG(default_link); IBG 1110 ext/interbase/ibase_query.c } else if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >= l)) { IBG 1134 ext/interbase/ibase_query.c IBG(default_link) = Z_LVAL_P(return_value); IBG 1135 ext/interbase/ibase_query.c ++IBG(num_links); IBG 1143 ext/interbase/ibase_query.c ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, IBG 1214 ext/interbase/ibase_query.c ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink); IBG 1746 ext/interbase/ibase_query.c ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink); IBG 481 ext/interbase/interbase.c if (IBG(sql_code) != 0) { IBG 482 ext/interbase/interbase.c RETURN_STRING(IBG(errmsg), 1); IBG 497 ext/interbase/interbase.c if (IBG(sql_code) != 0) { IBG 498 ext/interbase/interbase.c RETURN_LONG(IBG(sql_code)); IBG 507 ext/interbase/interbase.c char *s = IBG(errmsg); IBG 510 ext/interbase/interbase.c IBG(sql_code) = isc_sqlcode(IB_STATUS); IBG 512 ext/interbase/interbase.c while ((s - IBG(errmsg)) < MAX_ERRMSG - (IBASE_MSGSIZE + 2) && isc_interprete(s, &statusp)) { IBG 513 ext/interbase/interbase.c strcat(IBG(errmsg), " "); IBG 514 ext/interbase/interbase.c s = IBG(errmsg) + strlen(IBG(errmsg)); IBG 517 ext/interbase/interbase.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", IBG(errmsg)); IBG 533 ext/interbase/interbase.c vsnprintf(IBG(errmsg), MAX_ERRMSG, msg, ap); IBG 536 ext/interbase/interbase.c IBG(sql_code) = -999; /* no SQL error */ IBG 538 ext/interbase/interbase.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", IBG(errmsg)); IBG 647 ext/interbase/interbase.c IBG(num_links)--; IBG 661 ext/interbase/interbase.c IBG(num_persistent)--; IBG 662 ext/interbase/interbase.c IBG(num_links)--; IBG 795 ext/interbase/interbase.c IBG(num_links) = IBG(num_persistent); IBG 796 ext/interbase/interbase.c IBG(default_link)= -1; IBG 952 ext/interbase/interbase.c RETURN_RESOURCE(IBG(default_link) = xlink); IBG 983 ext/interbase/interbase.c if ((l = INI_INT("ibase.max_links")) != -1 && IBG(num_links) >= l) { IBG 984 ext/interbase/interbase.c _php_ibase_module_error("Too many open links (%ld)" TSRMLS_CC, IBG(num_links)); IBG 994 ext/interbase/interbase.c if (!persistent || ((l = INI_INT("ibase.max_persistent") != -1) && IBG(num_persistent) >= l)) { IBG 1014 ext/interbase/interbase.c ++IBG(num_persistent); IBG 1021 ext/interbase/interbase.c ++IBG(num_links); IBG 1031 ext/interbase/interbase.c zend_list_addref(IBG(default_link) = Z_LVAL_P(return_value)); IBG 1066 ext/interbase/interbase.c link_id = IBG(default_link); IBG 1068 ext/interbase/interbase.c IBG(default_link) = -1; IBG 1095 ext/interbase/interbase.c link_id = IBG(default_link); IBG 1097 ext/interbase/interbase.c IBG(default_link) = -1; IBG 1232 ext/interbase/interbase.c if (!ZEND_FETCH_RESOURCE2_NO_RETURN(ib_link[0], ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink)) { IBG 1326 ext/interbase/interbase.c ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink); IBG 34 ext/interbase/php_ibase_includes.h #define RESET_ERRMSG do { IBG(errmsg)[0] = '\0'; IBG(sql_code) = 0; } while (0) IBG 36 ext/interbase/php_ibase_includes.h #define IB_STATUS (IBG(status)) IBG 160 ext/interbase/php_ibase_includes.h ZEND_FETCH_RESOURCE2(lh, ibase_db_link *, NULL, IBG(default_link), \