Type Alias libssh_rs_sys::ssh_packet_callback
source · pub type ssh_packet_callback = Option<unsafe extern "C" fn(session: ssh_session, type_: u8, packet: ssh_buffer, user: *mut c_void) -> c_int>;
Aliased Type§
enum ssh_packet_callback {
None,
Some(unsafe extern "C" fn(_: *mut ssh_session_struct, _: u8, _: *mut ssh_buffer_struct, _: *mut c_void) -> i32),
}