ssh_service_request_callback typedef
ssh_service_request_callback = Pointer<NativeFunction<Int32 Function(Int32, Pointer<Int8> , Pointer<Void> )> >
@brief Handles an SSH service request @param session current session handler @param service name of the service (e.g. "ssh-userauth") requested @param userdata Userdata to be passed to the callback function. @returns 0 if the request is to be allowed @returns -1 if the request should not be allowed
Implementation
typedef ssh_service_request_callback
= ffi.Pointer<ffi.NativeFunction<ffi.Int32 Function(ffi.Int32, ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Void>)>>;