pam-0.2.0.0: Haskell binding for C PAM API
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

cConv :: (Ptr () -> [PamMessage] -> IO [PamResponse]) -> CInt -> Ptr (Ptr ()) -> Ptr (Ptr ()) -> Ptr () -> IO CInt Source #