comparison src/pam_ffi.rs @ 64:bbe84835d6db v0.0.5

More organization; add lots of docs. - moves `PamHandle` to its own module, since it will be used by both modules and clients. - adds a ton of documentation to the `PamModule` trait and reorders methods to most-interesting-first. - adds more flag values from pam_modules.h. - other misc cleanup.
author Paul Fisher <paul@pfish.zone>
date Thu, 22 May 2025 01:52:32 -0400
parents 05cc2c27334f
children
comparison
equal deleted inserted replaced
63:a7aa5ca0d00d 64:bbe84835d6db
1 //! Functions exported by the PAM FFI. 1 //! FFI to the PAM library.
2 2
3 use libc::c_char; 3 use libc::c_char;
4 use std::ffi::c_int; 4 use std::ffi::c_int;
5 5
6 #[link(name = "pam")] 6 #[link(name = "pam")]