Safe Haskell | Safe |
---|
Synopsis
- data PamMessage = PamMessage {}
- data PamStyle
- data PamResponse = PamResponse String
- data PamRetCode
- = PamSuccess
- | PamRetCode Int
- data PamFlag
- type PamConv = Ptr () -> [PamMessage] -> IO [PamResponse]
- data PamHandle = PamHandle {
- cPamHandle :: Ptr ()
- cPamCallback :: FunPtr (CInt -> Ptr (Ptr ()) -> Ptr (Ptr ()) -> Ptr () -> IO CInt)
Documentation
data PamMessage Source #
Instances
Eq PamMessage Source # | |
Defined in System.Posix.PAM.Types (==) :: PamMessage -> PamMessage -> Bool (/=) :: PamMessage -> PamMessage -> Bool | |
Show PamMessage Source # | |
Defined in System.Posix.PAM.Types showsPrec :: Int -> PamMessage -> ShowS show :: PamMessage -> String showList :: [PamMessage] -> 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
PamResponse String |
Instances
Eq PamResponse Source # | |
Defined in System.Posix.PAM.Types (==) :: PamResponse -> PamResponse -> Bool (/=) :: PamResponse -> PamResponse -> Bool | |
Show PamResponse Source # | |
Defined in System.Posix.PAM.Types showsPrec :: Int -> PamResponse -> ShowS show :: PamResponse -> String showList :: [PamResponse] -> ShowS |
data PamRetCode Source #
PamSuccess | |
PamRetCode Int |
Instances
Eq PamRetCode Source # | |
Defined in System.Posix.PAM.Types (==) :: PamRetCode -> PamRetCode -> Bool (/=) :: PamRetCode -> PamRetCode -> Bool | |
Show PamRetCode Source # | |
Defined in System.Posix.PAM.Types showsPrec :: Int -> PamRetCode -> ShowS show :: PamRetCode -> String showList :: [PamRetCode] -> ShowS |
PamSilent | |
PamDisallowNullAuthTok | |
PamEstablishCred | |
PamDeleteCred | |
PamReinitializeCred | |
PamRefreshCred | |
PamChangeExpiredAuthTok | |
PamNone |
type PamConv = Ptr () -> [PamMessage] -> IO [PamResponse] Source #
PamHandle | |
|