ssh_channel_env_request_callback typedef
ssh_channel_env_request_callback = Pointer<NativeFunction<Int32 Function(Int32, Pointer<ssh_channel> , Pointer<Int8> , Pointer<Int8> , Pointer<Void> )> >
@brief SSH channel environment request from a client. @param channel the channel @param env_name name of the environment value to be set @param env_value value of the environment value to be set @param userdata Userdata to be passed to the callback function. @returns 0 if the env request is accepted @returns 1 if the request is denied @warning some environment variables can be dangerous if changed (e.g. LD_PRELOAD) and should not be fulfilled.
Implementation
typedef ssh_channel_env_request_callback = ffi.Pointer<
ffi.NativeFunction<
ffi.Int32 Function(
ffi.Int32, ffi.Pointer<ssh_channel>, ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Void>)>>;