comparison src/handle.rs @ 75:c30811b4afae

rename pam_ffi submodule to libpam.
author Paul Fisher <paul@pfish.zone>
date Fri, 06 Jun 2025 22:35:08 -0400
parents ac6881304c78
children 002adfb98c5c
comparison
equal deleted inserted replaced
74:c7c596e6388f 75:c30811b4afae
62 /// Functionality for both PAM applications and PAM modules. 62 /// Functionality for both PAM applications and PAM modules.
63 /// 63 ///
64 /// This base trait includes features of a PAM handle that are available 64 /// This base trait includes features of a PAM handle that are available
65 /// to both applications and modules. 65 /// to both applications and modules.
66 /// 66 ///
67 /// You probably want [`LibPamHandle`](crate::pam_ffi::OwnedLibPamHandle). 67 /// You probably want [`LibPamHandle`](crate::libpam::OwnedLibPamHandle).
68 /// This trait is intended to allow creating mock PAM handle types 68 /// This trait is intended to allow creating mock PAM handle types
69 /// to test PAM modules and applications. 69 /// to test PAM modules and applications.
70 pub trait PamShared { 70 pub trait PamShared {
71 /// Retrieves the name of the user who is authenticating or logging in. 71 /// Retrieves the name of the user who is authenticating or logging in.
72 /// 72 ///