IBG 158 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 320 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 324 interbase/ibase_events.c link_res_id = IBG(default_link); IBG 1112 interbase/ibase_query.c } else if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >= l)) { IBG 1136 interbase/ibase_query.c IBG(default_link) = Z_LVAL_P(return_value); IBG 1137 interbase/ibase_query.c ++IBG(num_links); IBG 1145 interbase/ibase_query.c ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, IBG 1216 interbase/ibase_query.c ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink); IBG 1748 interbase/ibase_query.c ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink); IBG 483 interbase/interbase.c if (IBG(sql_code) != 0) { IBG 484 interbase/interbase.c RETURN_STRING(IBG(errmsg), 1); IBG 499 interbase/interbase.c if (IBG(sql_code) != 0) { IBG 500 interbase/interbase.c RETURN_LONG(IBG(sql_code)); IBG 509 interbase/interbase.c char *s = IBG(errmsg); IBG 512 interbase/interbase.c IBG(sql_code) = isc_sqlcode(IB_STATUS); IBG 514 interbase/interbase.c while ((s - IBG(errmsg)) < MAX_ERRMSG - (IBASE_MSGSIZE + 2) && isc_interprete(s, &statusp)) { IBG 515 interbase/interbase.c strcat(IBG(errmsg), " "); IBG 516 interbase/interbase.c s = IBG(errmsg) + strlen(IBG(errmsg)); IBG 519 interbase/interbase.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", IBG(errmsg)); IBG 535 interbase/interbase.c vsnprintf(IBG(errmsg), MAX_ERRMSG, msg, ap); IBG 538 interbase/interbase.c IBG(sql_code) = -999; /* no SQL error */ IBG 540 interbase/interbase.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", IBG(errmsg)); IBG 649 interbase/interbase.c IBG(num_links)--; IBG 663 interbase/interbase.c IBG(num_persistent)--; IBG 664 interbase/interbase.c IBG(num_links)--; IBG 797 interbase/interbase.c IBG(num_links) = IBG(num_persistent); IBG 798 interbase/interbase.c IBG(default_link)= -1; IBG 954 interbase/interbase.c RETURN_RESOURCE(IBG(default_link) = xlink); IBG 985 interbase/interbase.c if ((l = INI_INT("ibase.max_links")) != -1 && IBG(num_links) >= l) { IBG 986 interbase/interbase.c _php_ibase_module_error("Too many open links (%ld)" TSRMLS_CC, IBG(num_links)); IBG 996 interbase/interbase.c if (!persistent || ((l = INI_INT("ibase.max_persistent") != -1) && IBG(num_persistent) >= l)) { IBG 1016 interbase/interbase.c ++IBG(num_persistent); IBG 1023 interbase/interbase.c ++IBG(num_links); IBG 1033 interbase/interbase.c zend_list_addref(IBG(default_link) = Z_LVAL_P(return_value)); IBG 1068 interbase/interbase.c link_id = IBG(default_link); IBG 1070 interbase/interbase.c IBG(default_link) = -1; IBG 1097 interbase/interbase.c link_id = IBG(default_link); IBG 1099 interbase/interbase.c IBG(default_link) = -1; IBG 1234 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 1328 interbase/interbase.c ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link *, NULL, IBG(default_link), LE_LINK, le_link, le_plink); IBG 36 interbase/php_ibase_includes.h #define RESET_ERRMSG do { IBG(errmsg)[0] = '\0'; IBG(sql_code) = 0; } while (0) IBG 38 interbase/php_ibase_includes.h #define IB_STATUS (IBG(status)) IBG 161 interbase/php_ibase_includes.h ZEND_FETCH_RESOURCE2(lh, ibase_db_link *, NULL, IBG(default_link), \