Module pam_sys::wrapped [] [src]

Wrapped FFI bindings to Linux-PAM

This module provides wrapped versions of some of the functions from the raw module which use the appropriate enums instead of c_int. These wrappers should always be preferred as one can safely match on their return types and prevent illegal arguments from beeing passed to the native library.

Note: These wrappers get added as I need them. Feel free to open an issue or PR for the ones that you require which haven't been added yet.

Functions

acct_mgmt
authenticate
close_session
end
get_item
getenv
open_session
putenv
set_item
setcred
start