ssh_channel_write_wontblock_callback typedef

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

@brief SSH channel write will not block (flow control).

@param channel the channel

@paramin bytes size of the remote window in bytes. Writing as much data will not block.

@paramin userdata Userdata to be passed to the callback function.

@returns 0 default return value (other return codes may be added in future).

Implementation

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