ssh_channel_open_request_auth_agent_callback typedef

ssh_channel_open_request_auth_agent_callback = Pointer<NativeFunction<Int32 Function(Int32, Pointer<Void>)>>

@brief Handles an SSH new channel open "auth-agent" request. This happens when the server sends back an "auth-agent" connection attempt. This is a client-side API @param session current session handler @param userdata Userdata to be passed to the callback function. @returns a valid ssh_channel handle if the request is to be allowed @returns NULL if the request should not be allowed @warning The channel pointer returned by this callback must be closed by the application.

Implementation

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