Searched refs:ib_link (Results 1 - 5 of 5) sorted by relevance

/PHP_5_6/ext/interbase/
H A Dibase_blobs.c208 ibase_db_link *ib_link; local
218 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
224 if (isc_create_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob->bl_handle, &ib_blob->bl_qd)) {
241 ibase_db_link *ib_link; local
262 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
274 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob->bl_handle,
403 ibase_db_link *ib_link; local
425 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
433 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob.bl_handle,
479 ibase_db_link *ib_link; local
543 ibase_db_link *ib_link; local
[all...]
H A Dibase_events.c90 static void _php_ibase_event_block(ibase_db_link *ib_link, unsigned short count, /* {{{ */ argument
118 isc_wait_for_event(dummy_result, &ib_link->handle, *l, *event_buf, *result_buf);
128 ibase_db_link *ib_link; local
146 if (!ZEND_FETCH_RESOURCE2_NO_RETURN(ib_link, ibase_db_link *, args[0], -1, "InterBase link", le_link, le_plink)) {
156 if (!ZEND_FETCH_RESOURCE2_NO_RETURN(ib_link, ibase_db_link *, NULL, IBG(default_link), "InterBase link", le_link, le_plink)) {
168 _php_ibase_event_block(ib_link, event_count, events, &buffer_size, &event_buffer, &result_buffer);
171 if (isc_wait_for_event(IB_STATUS, &ib_link->handle, buffer_size, event_buffer, result_buffer)) {
270 ibase_db_link *ib_link; local
299 if (!ZEND_FETCH_RESOURCE2_NO_RETURN(ib_link, ibase_db_link *, args[0], -1, "InterBase link", le_link, le_plink)) {
318 if (!ZEND_FETCH_RESOURCE2_NO_RETURN(ib_link, ibase_db_lin
[all...]
H A Dibase_query.c1065 ibase_db_link *ib_link = NULL; local
1081 ZEND_FETCH_RESOURCE2(ib_link, ibase_db_link*, &zlink, -1, LE_LINK, le_link, le_plink);
1091 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, &zlink, &ib_link, &trans);
1126 ib_link = (ibase_db_link *) emalloc(sizeof(ibase_db_link));
1127 ib_link->handle = db;
1128 ib_link->dialect = SQL_DIALECT_CURRENT;
1129 ib_link->tr_list = NULL;
1130 ib_link->event_head = NULL;
1132 ZEND_REGISTER_RESOURCE(return_value, ib_link, le_link);
1143 ZEND_FETCH_RESOURCE2(ib_link, ibase_db_lin
1204 ibase_db_link *ib_link; local
1734 ibase_db_link *ib_link; local
[all...]
H A Dinterbase.c551 /* Fill ib_link and trans with the correct database link and transaction. */
553 zval **link_id, ibase_db_link **ib_link, ibase_trans **trans)
569 *ib_link = (*trans)->db_link[0];
576 ZEND_FETCH_RESOURCE2(*ib_link, ibase_db_link *, link_id, -1, LE_LINK, le_link, le_plink);
901 ibase_db_link *ib_link; local
972 ib_link = (ibase_db_link *) le->ptr;
973 if (!isc_database_info(status, &ib_link->handle, sizeof(info), info, sizeof(result), result)) {
974 ZEND_REGISTER_RESOURCE(return_value, ib_link, le_plink);
988 /* create the ib_link */
995 ib_link
552 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAMETERS, zval **link_id, ibase_db_link **ib_link, ibase_trans **trans) argument
1056 ibase_db_link *ib_link; local
1084 ibase_db_link *ib_link; local
1129 ibase_db_link **ib_link = NULL; local
1273 _php_ibase_def_trans(ibase_db_link *ib_link, ibase_trans **trans TSRMLS_DC) argument
1315 ibase_db_link *ib_link; local
1418 ibase_db_link *ib_link; local
[all...]
H A Dphp_ibase_includes.h167 int _php_ibase_def_trans(ibase_db_link *ib_link, ibase_trans **trans TSRMLS_DC);
169 ibase_db_link **ib_link, ibase_trans **trans);

Completed in 10 milliseconds