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