Safe HaskellSafe

System.Posix.PAM.Types

Synopsis

Documentation

data PamMessage Source #

Constructors

PamMessage 

Fields

Instances

Instances details
Eq PamMessage Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

(==) :: PamMessage -> PamMessage -> Bool

(/=) :: PamMessage -> PamMessage -> Bool

Show PamMessage Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

showsPrec :: Int -> PamMessage -> ShowS

show :: PamMessage -> String

showList :: [PamMessage] -> ShowS

data PamStyle Source #

Instances

Instances details
Eq PamStyle Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

(==) :: PamStyle -> PamStyle -> Bool

(/=) :: PamStyle -> PamStyle -> Bool

Show PamStyle Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

showsPrec :: Int -> PamStyle -> ShowS

show :: PamStyle -> String

showList :: [PamStyle] -> ShowS

data PamResponse Source #

http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/adg-interface-of-app-expected.html#adg-pam_conv - resp_code member in C sturct is unused and should be set to zero, that's why there is no code field in the haskell data type

Constructors

PamResponse String 

Instances

Instances details
Eq PamResponse Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

(==) :: PamResponse -> PamResponse -> Bool

(/=) :: PamResponse -> PamResponse -> Bool

Show PamResponse Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

showsPrec :: Int -> PamResponse -> ShowS

show :: PamResponse -> String

showList :: [PamResponse] -> ShowS

data PamRetCode Source #

Constructors

PamSuccess 
PamRetCode Int 

Instances

Instances details
Eq PamRetCode Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

(==) :: PamRetCode -> PamRetCode -> Bool

(/=) :: PamRetCode -> PamRetCode -> Bool

Show PamRetCode Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

showsPrec :: Int -> PamRetCode -> ShowS

show :: PamRetCode -> String

showList :: [PamRetCode] -> ShowS

data PamFlag Source #

Instances

Instances details
Enum PamFlag Source # 
Instance details

Defined in System.Posix.PAM.Types

Eq PamFlag Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

(==) :: PamFlag -> PamFlag -> Bool

(/=) :: PamFlag -> PamFlag -> Bool

Show PamFlag Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

showsPrec :: Int -> PamFlag -> ShowS

show :: PamFlag -> String

showList :: [PamFlag] -> ShowS

type PamConv = Ptr () -> [PamMessage] -> IO [PamResponse] Source #

data PamHandle Source #

Constructors

PamHandle 

Fields

Instances

Instances details
Eq PamHandle Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

(==) :: PamHandle -> PamHandle -> Bool

(/=) :: PamHandle -> PamHandle -> Bool

Show PamHandle Source # 
Instance details

Defined in System.Posix.PAM.Types

Methods

showsPrec :: Int -> PamHandle -> ShowS

show :: PamHandle -> String

showList :: [PamHandle] -> ShowS