Mercurial > crates > nonstick
diff src/handle.rs @ 171:e27c5c667a5a
Create full new types for return code and flags, separate end to end.
This plumbs the ReturnCode and RawFlags types through the places where
we call into or are called from PAM.
Also adds Sun documentation to the project.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Fri, 25 Jul 2025 20:52:14 -0400 |
parents | 77470e45e397 |
children | 9e4ce1631bd3 |
line wrap: on
line diff
--- a/src/handle.rs Wed Jul 16 18:45:20 2025 -0400 +++ b/src/handle.rs Fri Jul 25 20:52:14 2025 -0400 @@ -182,6 +182,7 @@ /// ``` #[doc = man7!(3 pam_get_authtok)] #[doc = manbsd!(3 pam_get_authtok)] + /// [pam_authtok_get]: https://smartos.org/man/7/pam_authtok_get fn authtok(&mut self, prompt: Option<&OsStr>) -> Result<OsString>; /// Retrieves the user's old authentication token when changing passwords.