pub type StartupFunction = extern "C" fn(options: *const Options, state: *mut c_void) -> c_int;
Type of the callback for starting up a custom transport