libssh2-0.2.0.9: FFI bindings to libssh2 SSH2 client library (http://libssh2.org/)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.SSH.Client.LibSSH2.Types

Synopsis

Documentation

data Session Source #

Instances

Instances details
Data Session Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

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 # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Eq Session Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

(==) :: Session -> Session -> Bool #

(/=) :: Session -> Session -> Bool #

ToPointer Session Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: Session -> Ptr () Source #

data KnownHosts Source #

Instances

Instances details
Data KnownHosts Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

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 # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Eq KnownHosts Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

ToPointer KnownHosts Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: KnownHosts -> Ptr () Source #

data Channel Source #

Instances

Instances details
Data Channel Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

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 # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Eq Channel Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

(==) :: Channel -> Channel -> Bool #

(/=) :: Channel -> Channel -> Bool #

ToPointer Channel Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: Channel -> Ptr () Source #

data Sftp Source #

Instances

Instances details
Show Sftp Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

showsPrec :: Int -> Sftp -> ShowS #

show :: Sftp -> String #

showList :: [Sftp] -> ShowS #

ToPointer Sftp Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: Sftp -> Ptr () Source #

data SftpHandle Source #

Instances

Instances details
Show SftpHandle Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

ToPointer SftpHandle Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: SftpHandle -> Ptr () Source #

data Agent Source #

Instances

Instances details
Show Agent Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

showsPrec :: Int -> Agent -> ShowS #

show :: Agent -> String #

showList :: [Agent] -> ShowS #

ToPointer Agent Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: Agent -> Ptr () Source #

data AgentPublicKey Source #

Instances

Instances details
Data AgentPublicKey Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AgentPublicKey -> c AgentPublicKey #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AgentPublicKey #

toConstr :: AgentPublicKey -> Constr #

dataTypeOf :: AgentPublicKey -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AgentPublicKey) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AgentPublicKey) #

gmapT :: (forall b. Data b => b -> b) -> AgentPublicKey -> AgentPublicKey #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AgentPublicKey -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AgentPublicKey -> r #

gmapQ :: (forall d. Data d => d -> u) -> AgentPublicKey -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AgentPublicKey -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AgentPublicKey -> m AgentPublicKey #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AgentPublicKey -> m AgentPublicKey #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AgentPublicKey -> m AgentPublicKey #

Show AgentPublicKey Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Eq AgentPublicKey Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

class ToPointer p where Source #

Methods

toPointer :: p -> Ptr () Source #

Instances

Instances details
ToPointer Agent Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: Agent -> Ptr () Source #

ToPointer Channel Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: Channel -> Ptr () Source #

ToPointer KnownHosts Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: KnownHosts -> Ptr () Source #

ToPointer Session Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: Session -> Ptr () Source #

ToPointer Sftp Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: Sftp -> Ptr () Source #

ToPointer SftpHandle Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Methods

toPointer :: SftpHandle -> Ptr () Source #

data Direction Source #

Session directions

Constructors

INBOUND 
OUTBOUND 

Instances

Instances details
Show Direction Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

Eq Direction Source # 
Instance details

Defined in Network.SSH.Client.LibSSH2.Types

int2dir :: (Eq a, Num a, Show a) => a -> [Direction] Source #

type CStringCLen i = (CString, i) Source #

sftpFromPointer :: Session -> Ptr () -> IO Sftp Source #

Sftp support

sftpHandlePtr :: SftpHandle -> CSftpHandle Source #

agentFromPointer :: Session -> Ptr () -> IO Agent Source #

Agent support