6 #ifndef SKYWAY_FFI_BRIDGE_H
7 #define SKYWAY_FFI_BRIDGE_H
9 #include <fruit/fruit.h>
15 using fruit::Component;
16 using fruit::Injector;
20 std::function<void(
int)> shutdown_handler;
21 std::function<void(
char*,
char*)> create_peer_callback_handler;
23 create_data_callback_handler;
24 std::function<void(uint16_t)> data_connection_close_event_callback_handler;
46 #endif // SKYWAY_FFI_BRIDGE_H