ssh_log_callback typedef

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

@brief SSH log callback. All logging messages will go through this callback @param session Current session handler @param priority Priority of the log, the smaller being the more important @param message the actual message @param userdata Userdata to be passed to the callback function.

Implementation

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