| Safe Haskell | Safe |
|---|
System.Posix.PAM.Types
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 #
Constructors
| PamMessage | |
Instances
| Eq PamMessage Source # | |
Defined in System.Posix.PAM.Types | |
| Show PamMessage Source # | |
Defined in System.Posix.PAM.Types Methods showsPrec :: Int -> PamMessage -> ShowS show :: PamMessage -> String showList :: [PamMessage] -> ShowS | |
Constructors
| PamPromptEchoOff | |
| PamPromptEchoOn | |
| PamErrorMsg | |
| PamTextInfo |
Instances
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
| Eq PamResponse Source # | |
Defined in System.Posix.PAM.Types | |
| Show PamResponse Source # | |
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
| Eq PamRetCode Source # | |
Defined in System.Posix.PAM.Types | |
| Show PamRetCode Source # | |
Defined in System.Posix.PAM.Types Methods showsPrec :: Int -> PamRetCode -> ShowS show :: PamRetCode -> String showList :: [PamRetCode] -> ShowS | |
Constructors
| PamSilent | |
| PamDisallowNullAuthTok | |
| PamEstablishCred | |
| PamDeleteCred | |
| PamReinitializeCred | |
| PamRefreshCred | |
| PamChangeExpiredAuthTok | |
| PamNone |
type PamConv = Ptr () -> [PamMessage] -> IO [PamResponse] Source #
Constructors
| PamHandle | |
Fields
| |