ssh_logging_callback typedef

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

@brief SSH log callback.

All logging messages will go through this callback.

@param priority Priority of the log, the smaller being the more important.

@param function The function name calling the the logging fucntions.

@param message The actual message

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

Implementation

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