Searched defs:ib_link (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/interbase/
H A Dibase_events.c89 static void _php_ibase_event_block(ibase_db_link *ib_link, unsigned short count, /* {{{ */ argument
117 isc_wait_for_event(dummy_result, &ib_link->handle, *l, *event_buf, *result_buf);
127 ibase_db_link *ib_link; local
145 if ((ib_link = (ibase_db_link *)zend_fetch_resource2_ex(&args[0], "InterBase link", le_link, le_plink)) == NULL) {
155 if ((ib_link = (ibase_db_link *)zend_fetch_resource2_ex(IBG(default_link), "InterBase link", le_link, le_plink)) == NULL) {
167 _php_ibase_event_block(ib_link, event_count, events, &buffer_size, &event_buffer, &result_buffer);
170 if (isc_wait_for_event(IB_STATUS, &ib_link->handle, buffer_size, event_buffer, result_buffer)) {
268 ibase_db_link *ib_link; local
296 if ((ib_link = (ibase_db_link *)zend_fetch_resource2_ex(&args[0], "InterBase link", le_link, le_plink)) == NULL) {
313 if ((ib_link
[all...]
H A Dibase_blobs.c210 ibase_db_link *ib_link; local
220 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
226 if (isc_create_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob->bl_handle, &ib_blob->bl_qd)) {
244 ibase_db_link *ib_link; local
265 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
277 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob->bl_handle,
410 ibase_db_link *ib_link; local
432 PHP_IBASE_LINK_TRANS(link, ib_link, trans);
440 if (isc_open_blob(IB_STATUS, &ib_link->handle, &trans->handle, &ib_blob.bl_handle,
486 ibase_db_link *ib_link; local
550 ibase_db_link *ib_link; local
[all...]
H A Dibase_query.c1066 ibase_db_link *ib_link = NULL; local
1082 ib_link = (ibase_db_link*)zend_fetch_resource2_ex(zlink, LE_LINK, le_link, le_plink);
1092 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAM_PASSTHRU, zlink, &ib_link, &trans);
1127 ib_link = (ibase_db_link *) emalloc(sizeof(ibase_db_link));
1128 ib_link->handle = db;
1129 ib_link->dialect = SQL_DIALECT_CURRENT;
1130 ib_link->tr_list = NULL;
1131 ib_link->event_head = NULL;
1133 RETVAL_RES(zend_register_resource(ib_link, le_link));
1144 ib_link
1203 ibase_db_link *ib_link; local
1735 ibase_db_link *ib_link; local
[all...]
H A Dinterbase.c547 /* Fill ib_link and trans with the correct database link and transaction. */
549 zval *link_id, ibase_db_link **ib_link, ibase_trans **trans)
562 *ib_link = (*trans)->db_link[0];
568 *ib_link = (ibase_db_link *)zend_fetch_resource2_ex(link_id, LE_LINK, le_link, le_plink);
886 ibase_db_link *ib_link; local
962 ib_link = (ibase_db_link *) le->ptr;
963 if (!isc_database_info(status, &ib_link->handle, sizeof(info), info, sizeof(result), result)) {
964 RETVAL_RES(zend_register_resource(ib_link, le_plink));
977 /* create the ib_link */
984 ib_link
548 _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAMETERS, zval *link_id, ibase_db_link **ib_link, ibase_trans **trans) argument
1053 ibase_db_link *ib_link; local
1090 ibase_db_link *ib_link; local
1139 ibase_db_link **ib_link = NULL; local
1281 _php_ibase_def_trans(ibase_db_link *ib_link, ibase_trans **trans) argument
1323 ibase_db_link *ib_link; local
1425 ibase_db_link *ib_link; local
[all...]

Completed in 7 milliseconds