[−][src]Function sentry_contrib_native_sys::transport_set_startup_func
pub unsafe extern "C" fn transport_set_startup_func(
transport: *mut Transport,
startup_func: Option<StartupFunction>
)
Sets the transport startup hook.
This hook is called from within sentry_init
and will get a reference
to the options which can be used to initialize a transports internal
state. It should return 0
on success. A failure will bubble up to
sentry_init
.