ssh_packet_callback

Type Alias 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§

pub enum ssh_packet_callback {
    None,
    Some(unsafe extern "C" fn(*mut ssh_session_struct, u8, *mut ssh_buffer_struct, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut ssh_session_struct, u8, *mut ssh_buffer_struct, *mut c_void) -> i32)

Some value of type T.