ttrss/vendor/open-telemetry/context/fiber/zend_observer_fiber.h

10 lines
530 B
C
Raw Normal View History

2023-10-20 14:12:29 +00:00
#define FFI_SCOPE "OTEL_ZEND_OBSERVER_FIBER"
typedef void (*zend_observer_fiber_init_handler)(intptr_t initializing);
typedef void (*zend_observer_fiber_switch_handler)(intptr_t from, intptr_t to);
typedef void (*zend_observer_fiber_destroy_handler)(intptr_t destroying);
void zend_observer_fiber_init_register(zend_observer_fiber_init_handler handler);
void zend_observer_fiber_switch_register(zend_observer_fiber_switch_handler handler);
void zend_observer_fiber_destroy_register(zend_observer_fiber_destroy_handler handler);