Safe Haskell | Safe |
---|
Synopsis
- retCodeFromC :: CInt -> PamRetCode
- retCodeToC :: PamRetCode -> CInt
- responseToC :: PamResponse -> IO CPamResponse
- messageFromC :: CPamMessage -> IO PamMessage
- cConv :: (Ptr () -> [PamMessage] -> IO [PamResponse]) -> CInt -> Ptr (Ptr ()) -> Ptr (Ptr ()) -> Ptr () -> IO CInt
- pamStart :: String -> String -> (PamConv, Ptr ()) -> IO (PamHandle, PamRetCode)
- pamEnd :: PamHandle -> PamRetCode -> IO PamRetCode
- pamAuthenticate :: PamHandle -> PamFlag -> IO PamRetCode
- pamAcctMgmt :: PamHandle -> PamFlag -> IO PamRetCode
Documentation
retCodeFromC :: CInt -> PamRetCode Source #
retCodeFromC
responseCode
converts responseCode
from PAM to
a PamRetCode
retCodeToC :: PamRetCode -> CInt Source #
retCodeToC
retCode
converts retCode
to the corresponding integer
used in the PAM C library
responseToC :: PamResponse -> IO CPamResponse Source #
messageFromC :: CPamMessage -> IO PamMessage Source #
cConv :: (Ptr () -> [PamMessage] -> IO [PamResponse]) -> CInt -> Ptr (Ptr ()) -> Ptr (Ptr ()) -> Ptr () -> IO CInt Source #
pamEnd :: PamHandle -> PamRetCode -> IO PamRetCode Source #
pamAuthenticate :: PamHandle -> PamFlag -> IO PamRetCode Source #
pamAcctMgmt :: PamHandle -> PamFlag -> IO PamRetCode Source #