event 45 interbase/ibase_events.c event->state = DEAD; event 47 interbase/ibase_events.c if (event->link != NULL) { event 50 interbase/ibase_events.c if (event->link->handle != NULL && event 51 interbase/ibase_events.c isc_cancel_events(IB_STATUS, &event->link->handle, &event->event_id)) { event 56 interbase/ibase_events.c for (node = &event->link->event_head; *node != event; node = &(*node)->event_next); event 57 interbase/ibase_events.c *node = event->event_next; event 60 interbase/ibase_events.c if (event->callback) { event 61 interbase/ibase_events.c zval_dtor(event->callback); event 62 interbase/ibase_events.c FREE_ZVAL(event->callback); event 63 interbase/ibase_events.c event->callback = NULL; event 65 interbase/ibase_events.c _php_ibase_event_free(event->event_buffer,event->result_buffer); event 67 interbase/ibase_events.c for (i = 0; i < event->event_count; ++i) { event 68 interbase/ibase_events.c efree(event->events[i]); event 70 interbase/ibase_events.c efree(event->events); event 203 interbase/ibase_events.c TSRMLS_FETCH_FROM_CTX(event->thread_ctx); event 210 interbase/ibase_events.c switch (event->state) { event 222 interbase/ibase_events.c memcpy(event->result_buffer, result_buf, buffer_size); event 226 interbase/ibase_events.c ZVAL_RESOURCE(&link_id, event->link_res_id); event 229 interbase/ibase_events.c isc_event_counts(occurred_event, buffer_size, event->event_buffer, event->result_buffer); event 230 interbase/ibase_events.c for (i = 0; i < event->event_count; ++i) { event 232 interbase/ibase_events.c ZVAL_STRING(&event_name,event->events[i],0); event 239 interbase/ibase_events.c event->callback, &return_value, 2, args TSRMLS_CC)) { event 240 interbase/ibase_events.c _php_ibase_module_error("Error calling callback %s" TSRMLS_CC, Z_STRVAL_P(event->callback)); event 245 interbase/ibase_events.c event->state = DEAD; event 250 interbase/ibase_events.c if (isc_que_events(IB_STATUS, &event->link->handle, &event->event_id, buffer_size, event 251 interbase/ibase_events.c event->event_buffer,(isc_callback)_php_ibase_callback, (void *)event)) { event 255 interbase/ibase_events.c event->state = ACTIVE; event 273 interbase/ibase_events.c ibase_event *event; event 337 interbase/ibase_events.c event = (ibase_event *) safe_emalloc(sizeof(ibase_event), 1, 0); event 338 interbase/ibase_events.c TSRMLS_SET_CTX(event->thread_ctx); event 339 interbase/ibase_events.c event->link_res_id = link_res_id; event 340 interbase/ibase_events.c event->link = ib_link; event 341 interbase/ibase_events.c event->event_count = 0; event 342 interbase/ibase_events.c event->state = NEW; event 343 interbase/ibase_events.c event->events = (char **) safe_emalloc(sizeof(char *),ZEND_NUM_ARGS()-i,0); event 345 interbase/ibase_events.c ALLOC_ZVAL(event->callback); event 346 interbase/ibase_events.c *event->callback = **cb_arg; event 347 interbase/ibase_events.c INIT_PZVAL(event->callback); event 348 interbase/ibase_events.c zval_copy_ctor(event->callback); event 352 interbase/ibase_events.c event->events[event->event_count++] = estrdup(Z_STRVAL_PP(args[i])); event 356 interbase/ibase_events.c _php_ibase_event_block(ib_link, event->event_count, event->events, event 357 interbase/ibase_events.c &buffer_size, &event->event_buffer, &event->result_buffer); event 360 interbase/ibase_events.c if (isc_que_events(IB_STATUS, &ib_link->handle, &event->event_id, buffer_size, event 361 interbase/ibase_events.c event->event_buffer,(isc_callback)_php_ibase_callback, (void *)event)) { event 364 interbase/ibase_events.c efree(event); event 369 interbase/ibase_events.c event->event_next = ib_link->event_head; event 370 interbase/ibase_events.c ib_link->event_head = event; event 372 interbase/ibase_events.c ZEND_REGISTER_RESOURCE(return_value, event, le_event); event 387 interbase/ibase_events.c ibase_event *event; event 389 interbase/ibase_events.c ZEND_FETCH_RESOURCE(event, ibase_event *, &event_arg, -1, "Interbase event", le_event); event 391 interbase/ibase_events.c event->state = DEAD; event 77 interbase/php_ibase_includes.h struct event *event_head; event 107 interbase/php_ibase_includes.h struct event *event_next; event 2388 session/session.c retval = php_session_rfc1867_orig_callback(event, event_data, extra TSRMLS_CC); event 2396 session/session.c switch(event) {