Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Session
- data KnownHosts
- data Channel
- data Sftp
- data SftpHandle
- data Agent
- data AgentPublicKey
- class ToPointer p where
- data Direction
- int2dir :: (Eq a, Num a, Show a) => a -> [Direction]
- type CStringCLen i = (CString, i)
- type Size = CULong
- type SSize = CLong
- withCStringLenIntConv :: Integral i => String -> (CStringCLen i -> IO a) -> IO a
- peekCStringPtr :: Ptr CString -> IO String
- peekMaybeCStringPtr :: Ptr CString -> IO (Maybe String)
- channelFromPointer :: Session -> Ptr () -> IO Channel
- knownHostsFromPointer :: Ptr () -> IO KnownHosts
- sessionFromPointer :: Ptr () -> IO Session
- sessionGetSocket :: Session -> IO (Maybe Socket)
- sessionSetSocket :: Session -> Maybe Socket -> IO ()
- channelSession :: Channel -> Session
- sftpFromPointer :: Session -> Ptr () -> IO Sftp
- sftpSession :: Sftp -> Session
- sftpHandlePtr :: SftpHandle -> CSftpHandle
- sftpHandleFromPointer :: Sftp -> Ptr () -> IO SftpHandle
- sftpHandleSession :: SftpHandle -> Sftp
- agentFromPointer :: Session -> Ptr () -> IO Agent
- agentSession :: Agent -> Session
- agentPublicKeyFromPointer :: Ptr () -> IO AgentPublicKey
- withAgentPublicKey :: AgentPublicKey -> (Ptr AgentPublicKey -> IO b) -> IO b
Documentation
Instances
Data Session Source # | |
Defined in Network.SSH.Client.LibSSH2.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Session -> c Session # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Session # toConstr :: Session -> Constr # dataTypeOf :: Session -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Session) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Session) # gmapT :: (forall b. Data b => b -> b) -> Session -> Session # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Session -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Session -> r # gmapQ :: (forall d. Data d => d -> u) -> Session -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Session -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Session -> m Session # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Session -> m Session # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Session -> m Session # | |
Show Session Source # | |
Eq Session Source # | |
ToPointer Session Source # | |
data KnownHosts Source #
Instances
Data KnownHosts Source # | |
Defined in Network.SSH.Client.LibSSH2.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KnownHosts -> c KnownHosts # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KnownHosts # toConstr :: KnownHosts -> Constr # dataTypeOf :: KnownHosts -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c KnownHosts) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KnownHosts) # gmapT :: (forall b. Data b => b -> b) -> KnownHosts -> KnownHosts # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KnownHosts -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KnownHosts -> r # gmapQ :: (forall d. Data d => d -> u) -> KnownHosts -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> KnownHosts -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> KnownHosts -> m KnownHosts # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KnownHosts -> m KnownHosts # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KnownHosts -> m KnownHosts # | |
Show KnownHosts Source # | |
Defined in Network.SSH.Client.LibSSH2.Types showsPrec :: Int -> KnownHosts -> ShowS # show :: KnownHosts -> String # showList :: [KnownHosts] -> ShowS # | |
Eq KnownHosts Source # | |
Defined in Network.SSH.Client.LibSSH2.Types (==) :: KnownHosts -> KnownHosts -> Bool # (/=) :: KnownHosts -> KnownHosts -> Bool # | |
ToPointer KnownHosts Source # | |
Defined in Network.SSH.Client.LibSSH2.Types toPointer :: KnownHosts -> Ptr () Source # |
Instances
Data Channel Source # | |
Defined in Network.SSH.Client.LibSSH2.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Channel -> c Channel # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Channel # toConstr :: Channel -> Constr # dataTypeOf :: Channel -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Channel) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Channel) # gmapT :: (forall b. Data b => b -> b) -> Channel -> Channel # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Channel -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Channel -> r # gmapQ :: (forall d. Data d => d -> u) -> Channel -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Channel -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Channel -> m Channel # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Channel -> m Channel # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Channel -> m Channel # | |
Show Channel Source # | |
Eq Channel Source # | |
ToPointer Channel Source # | |
data SftpHandle Source #
Instances
Show SftpHandle Source # | |
Defined in Network.SSH.Client.LibSSH2.Types showsPrec :: Int -> SftpHandle -> ShowS # show :: SftpHandle -> String # showList :: [SftpHandle] -> ShowS # | |
ToPointer SftpHandle Source # | |
Defined in Network.SSH.Client.LibSSH2.Types toPointer :: SftpHandle -> Ptr () Source # |
data AgentPublicKey Source #
Instances
class ToPointer p where Source #
Instances
ToPointer Agent Source # | |
ToPointer Channel Source # | |
ToPointer KnownHosts Source # | |
Defined in Network.SSH.Client.LibSSH2.Types toPointer :: KnownHosts -> Ptr () Source # | |
ToPointer Session Source # | |
ToPointer Sftp Source # | |
ToPointer SftpHandle Source # | |
Defined in Network.SSH.Client.LibSSH2.Types toPointer :: SftpHandle -> Ptr () Source # |
type CStringCLen i = (CString, i) Source #
withCStringLenIntConv :: Integral i => String -> (CStringCLen i -> IO a) -> IO a Source #
knownHostsFromPointer :: Ptr () -> IO KnownHosts Source #
channelSession :: Channel -> Session Source #
sftpSession :: Sftp -> Session Source #
sftpHandlePtr :: SftpHandle -> CSftpHandle Source #
sftpHandleFromPointer :: Sftp -> Ptr () -> IO SftpHandle Source #
sftpHandleSession :: SftpHandle -> Sftp Source #
agentSession :: Agent -> Session Source #
agentPublicKeyFromPointer :: Ptr () -> IO AgentPublicKey Source #
withAgentPublicKey :: AgentPublicKey -> (Ptr AgentPublicKey -> IO b) -> IO b Source #