OD@      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None    None.Exception to throw when null pointer received  from libssh2. !Error codes returned by libssh2. ?Get last error information. @-Throw an exception if negative value passed,  or return unchanged value. B+Throw an exception if null pointer passed, $ or return it casted to right type. I  !"#$%&'()*+,-./0123456789:;<=>?@AB7  !"#$%&'()*+,-./0123456789:;<=>?@AB7=<;:9876543210/.-,+*)('&%$#"!  ?@AB>  .=<;:9876543210/.-,+*)('&%$#"! >?@ABNoneMSession directions b3Initialize libssh2. Pass True to enable encryption  or False to disable it. cDeinitialize libssh2. dCreate Session object eFree Session object' s memory f,Disconnect session (but do not free memory) h%Run SSH handshake on network socket. i,Create KnownHosts object for given session. jFree KnownHosts object' s memory kRead known hosts from file lGet remote host public key m%Check host data against known hosts. n#Perform public key authentication. < Arguments are: session, username, path to public key file, ' path to private key file, passphrase. oOpen a channel for session. qExecute command rExecute shell command uRead data from channel. / Returns amount of given data and data itself. 1 NOTE: returns bytes sequence, i.e. not Unicode. vWrite data to channel. ! Returns amount of written data. y'Write all data to channel from handle. % Returns amount of transferred data. :writeChannelFromHandle :: Channel -> Handle -> IO Integer z&Read all data from channel to handle. % Returns amount of transferred data. {'Close channel (but do not free memory) |Free channel object' s memory }!Get currently blocked directions ~Get channel exit status "Get channel exit signal. Returns: Z (possibly error code, exit signal name, possibly error message, possibly language code). Create SCP file send channel. !Create SCP file receive channel. ! TODO: receive struct stat also. zCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefGoodbye message ghijkPath to known_hosts file lm Host name Port number (usually 22) Host public key 'Host flags (see libssh2 documentation) nopqrstuAmount of data to read vwxyz{|}~@CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~@PTSRQUa`_^]\[ZYXWVMONbcdefh}gijklmno{|wuvyzpqrts~CLKJIHGFEDxXC LKJIHGFEDMONPTSRQU a`_^]\[ZYXWVbcdefghijklmnopqrstuvwxyz{|}~None 4Check if handle is ready for reading in 10 seconds. ;Similar to Network.connectTo, but does not socketToHandle. -Execute some actions within SSH2 connection. ! Uses public key authentication. )Execute some actions within SSH2 session )Execute some actions within SSH2 session *Execute some actions withing SSH2 channel Read all data from the channel $Send a file to remote host via SCP.  Returns size of sent data. 'Receive file from remote host via SCP.  Returns size of received data. 9Retry the action repeatedly, while it fails with EAGAIN. - This does matter if using nonblocking mode. Path to known_hosts file Path to public key file Path to private key file Remote user name Remote host name  Remote port number (usually 22) Actions to perform on channel Remote host name  Remote port number (usually 22) )Actions to perform on handle and session Remote host name  Remote port number (usually 22) )Actions to perform on handle and session Remote host name  Remote port number (usually 22) Path to known_hosts file (File creation mode (0o777, for example) Path to local file Remote file path Remote file path Path to local file        !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ libssh2-0.1 Network.SSH.Client.LibSSH2.Types!Network.SSH.Client.LibSSH2.Errors"Network.SSH.Client.LibSSH2.ForeignNetwork.SSH.Client.LibSSH2Channel KnownHostsSession IsPointer fromPointer toPointer CStringCLenSSizeSizewithCStringLenIntConvpeekCStringPtrpeekMaybeCStringPtr CIntResultfromCInt NULL_POINTER ErrorCode BAD_SOCKETENCRYPT SOCKET_RECVAGENT_PROTOCOLOUT_OF_BOUNDARYCOMPRESSBAD_USEBUFFER_TOO_SMALLEAGAINPUBLICKEY_PROTOCOLINVALID_POLL_TYPEINVALMETHOD_NOT_SUPPORTEDREQUEST_DENIED SFTP_PROTOCOLSOCKET_TIMEOUTZLIB SCP_PROTOCOLCHANNEL_EOF_SENTCHANNEL_CLOSEDCHANNEL_PACKET_EXCEEDEDCHANNEL_WINDOW_EXCEEDEDCHANNEL_UNKNOWNCHANNEL_REQUEST_DENIEDCHANNEL_FAILURECHANNEL_OUTOFORDERPUBLICKEY_UNVERIFIEDAUTHENTICATION_FAILED METHOD_NONEFILEPASSWORD_EXPIREDPROTOSOCKET_DISCONNECTDECRYPT HOSTKEY_SIGN HOSTKEY_INITTIMEOUTKEY_EXCHANGE_FAILURE SOCKET_SENDALLOC KEX_FALIURE INVALID_MAC BANNER_SEND BANNER_RECV SOCKET_NONENONE int2error getLastError handleInt handleBool handleNullPtr TraceFlagT_SOCKET T_PUBLICKEYT_ERRORT_SFTPT_SCPT_CONNT_AUTHT_KEXT_TRANS DirectionOUTBOUNDINBOUNDKnownHostResultFAILURENOTFOUNDMISMATCHMATCH KnownHostType KEY_SSHDSS KEY_SSHRSAKEY_RSA1 KEY_SHIFTKEY_MASK KEYENC_BASE64 KEYENC_RAW KEYENC_MASK TYPE_CUSTOM TYPE_SHA1 TYPE_PLAIN TYPE_MASK initializeexit initSession freeSessiondisconnectSession setBlocking handshakeinitKnownHostsfreeKnownHostsknownHostsReadFile getHostKeycheckKnownHostpublicKeyAuthFileopenChannelSessionchannelProcesschannelExecute channelShell requestPTYEx requestPTY readChannel writeChannelchannelSendEOF setTraceModewriteChannelFromHandlereadChannelToHandle closeChannel freeChannelblockedDirectionschannelExitStatuschannelExitSignalscpSendChannelscpReceiveChannel socketConnectwithSSH2 withSessionwithSessionBlocking checkHost withChannelreadAllChannelrunShellCommands execCommands scpSendFilescpReceiveFile retryIfNeeded$fIsPointerChannel $fShowChannel$fIsPointerKnownHosts$fShowKnownHosts$fIsPointerSession $fShowSessionHasCInt intResultgetLastError_'_ error2int getLastError_$fCIntResult(,,,)(,,,)$fHasCInt(,,,)$fCIntResult(,,)(,,) $fHasCInt(,,)$fCIntResult(,)(,) $fHasCInt(,)$fCIntResultCLongb$fHasCIntCLong$fCIntResultCIntb $fHasCIntCInt$fExceptionNULL_POINTER$fExceptionErrorCodeStatOffset KnownHostkhMagickhNodekhNamekhKey khTypeMasklibssh2_scp_recvscpSendChannel'_channelExitSignal_'_channelExitStatus'_blockedDirections'_ freeChannel'_closeChannel'_channelIsEOF'_libssh2_channel_eof libssh2_tracelibssh2_channel_write_exsetTraceMode'_channelSendEOF'_writeChannelEx'_libssh2_channel_read_exrequestPTYEx'_libssh2_channel_process_startupopenSessionChannelEx'_publicKeyAuthFile'_checkKnownHost_'_ getHostKey'_knownHostsReadFile_'_freeKnownHosts'_initKnownHosts'_ handshake'_ setBlocking'_disconnectSessionEx'_ freeSession'_libssh2_session_init_exexit'_ initialize'_kht2int typemask2int int2khresultint2dir init_crypto ssh2socketdisconnectSessionExbool2intknownHostsReadFile_checkKnownHost_openSessionChannelEx readChannelExwriteChannelExtf2int trace2int readChannelCB channelIsEOFchannelExitSignal_ waitSocket