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
chauthtok
close_session
end
get_item
get_user
getenv
getenvlist
misc_drop_env
misc_paste_env
misc_setenv
open_session
putenv
set_data
set_item
setcred
start
strerror