Safe Haskell | None |
---|
- data Session
- data KnownHosts
- data Channel
- 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
Documentation
data KnownHosts Source
type CStringCLen i = (CString, i)Source
withCStringLenIntConv :: Integral i => String -> (CStringCLen i -> IO a) -> IO aSource
knownHostsFromPointer :: Ptr () -> IO KnownHostsSource
sessionFromPointer :: Ptr () -> IO SessionSource