event 45 ext/interbase/ibase_events.c event->state = DEAD; event 47 ext/interbase/ibase_events.c if (event->link != NULL) { event 50 ext/interbase/ibase_events.c if (event->link->handle != NULL && event 51 ext/interbase/ibase_events.c isc_cancel_events(IB_STATUS, &event->link->handle, &event->event_id)) { event 56 ext/interbase/ibase_events.c for (node = &event->link->event_head; *node != event; node = &(*node)->event_next); event 57 ext/interbase/ibase_events.c *node = event->event_next; event 60 ext/interbase/ibase_events.c if (event->callback) { event 61 ext/interbase/ibase_events.c zval_dtor(event->callback); event 62 ext/interbase/ibase_events.c FREE_ZVAL(event->callback); event 63 ext/interbase/ibase_events.c event->callback = NULL; event 65 ext/interbase/ibase_events.c _php_ibase_event_free(event->event_buffer,event->result_buffer); event 67 ext/interbase/ibase_events.c for (i = 0; i < event->event_count; ++i) { event 68 ext/interbase/ibase_events.c efree(event->events[i]); event 70 ext/interbase/ibase_events.c efree(event->events); event 196 ext/interbase/ibase_events.c TSRMLS_FETCH_FROM_CTX(event->thread_ctx); event 203 ext/interbase/ibase_events.c switch (event->state) { event 215 ext/interbase/ibase_events.c memcpy(event->result_buffer, result_buf, buffer_size); event 219 ext/interbase/ibase_events.c ZVAL_RESOURCE(&link_id, event->link_res_id); event 222 ext/interbase/ibase_events.c isc_event_counts(occurred_event, buffer_size, event->event_buffer, event->result_buffer); event 223 ext/interbase/ibase_events.c for (i = 0; i < event->event_count; ++i) { event 225 ext/interbase/ibase_events.c ZVAL_STRING(&event_name,event->events[i],0); event 232 ext/interbase/ibase_events.c event->callback, &return_value, 2, args TSRMLS_CC)) { event 233 ext/interbase/ibase_events.c _php_ibase_module_error("Error calling callback %s" TSRMLS_CC, Z_STRVAL_P(event->callback)); event 238 ext/interbase/ibase_events.c event->state = DEAD; event 243 ext/interbase/ibase_events.c if (isc_que_events(IB_STATUS, &event->link->handle, &event->event_id, buffer_size, event 244 ext/interbase/ibase_events.c event->event_buffer,(isc_callback)_php_ibase_callback, (void *)event)) { event 248 ext/interbase/ibase_events.c event->state = ACTIVE; event 266 ext/interbase/ibase_events.c ibase_event *event; event 314 ext/interbase/ibase_events.c event = (ibase_event *) safe_emalloc(sizeof(ibase_event), 1, 0); event 315 ext/interbase/ibase_events.c TSRMLS_SET_CTX(event->thread_ctx); event 316 ext/interbase/ibase_events.c event->link_res_id = link_res_id; event 317 ext/interbase/ibase_events.c event->link = ib_link; event 318 ext/interbase/ibase_events.c event->event_count = 0; event 319 ext/interbase/ibase_events.c event->state = NEW; event 320 ext/interbase/ibase_events.c event->events = (char **) safe_emalloc(sizeof(char *),ZEND_NUM_ARGS()-i,0); event 322 ext/interbase/ibase_events.c ALLOC_ZVAL(event->callback); event 323 ext/interbase/ibase_events.c *event->callback = **cb_arg; event 324 ext/interbase/ibase_events.c INIT_PZVAL(event->callback); event 325 ext/interbase/ibase_events.c zval_copy_ctor(event->callback); event 329 ext/interbase/ibase_events.c event->events[event->event_count++] = estrdup(Z_STRVAL_PP(args[i])); event 333 ext/interbase/ibase_events.c _php_ibase_event_block(ib_link, event->event_count, event->events, event 334 ext/interbase/ibase_events.c &buffer_size, &event->event_buffer, &event->result_buffer); event 337 ext/interbase/ibase_events.c if (isc_que_events(IB_STATUS, &ib_link->handle, &event->event_id, buffer_size, event 338 ext/interbase/ibase_events.c event->event_buffer,(isc_callback)_php_ibase_callback, (void *)event)) { event 341 ext/interbase/ibase_events.c efree(event); event 345 ext/interbase/ibase_events.c event->event_next = ib_link->event_head; event 346 ext/interbase/ibase_events.c ib_link->event_head = event; event 348 ext/interbase/ibase_events.c ZEND_REGISTER_RESOURCE(return_value, event, le_event); event 362 ext/interbase/ibase_events.c ibase_event *event; event 364 ext/interbase/ibase_events.c ZEND_FETCH_RESOURCE(event, ibase_event *, &event_arg, -1, "Interbase event", le_event); event 366 ext/interbase/ibase_events.c event->state = DEAD; event 77 ext/interbase/php_ibase_includes.h struct event *event_head; event 107 ext/interbase/php_ibase_includes.h struct event *event_next; event 38 main/rfc1867.c PHPAPI int (*php_rfc1867_callback)(unsigned int event, void *event_data, void **extra TSRMLS_DC) = NULL; event 74 main/rfc1867.h extern PHPAPI int (*php_rfc1867_callback)(unsigned int event, void *event_data, void **extra TSRMLS_DC); event 389 sapi/tux/php_tux.c if (req->event == PHP_TUX_BACKGROUND_CONN) { event 429 sapi/tux/php_tux.c TG(req)->event = PHP_TUX_BACKGROUND_CONN;