ssh_channel_exit_signal_callback typedef

ssh_channel_exit_signal_callback = Pointer<NativeFunction<Void Function(Int32, Pointer<ssh_channel>, Pointer<Int8>, Int32, Pointer<Int8>, Pointer<Int8>, Pointer<Void>)>>

@brief SSH channel exit signal callback. Called when a channel has received an exit signal @param session Current session handler @param channel the actual channel @param signal the signal name (without the SIG prefix) @param core a boolean telling wether a core has been dumped or not @param errmsg the description of the exception @param lang the language of the description (format: RFC 3066) @param userdata Userdata to be passed to the callback function.

Implementation

typedef ssh_channel_exit_signal_callback = ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(ffi.Int32, ffi.Pointer<ssh_channel>, ffi.Pointer<ffi.Int8>, ffi.Int32, ffi.Pointer<ffi.Int8>,
            ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Void>)>>;