Safe HaskellSafe

System.Posix.PAM.LowLevel

Synopsis

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 #

pamStart :: String -> String -> (PamConv, Ptr ()) -> IO (PamHandle, PamRetCode) Source #