ssh_channel_shell_request_callback typedef

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

@brief SSH channel Shell request from a client. @param channel the channel @param userdata Userdata to be passed to the callback function. @returns 0 if the shell request is accepted @returns 1 if the request is denied

Implementation

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