Mercurial > crates > nonstick
diff libpam-sys/libpam-sys-helpers/src/constants.rs @ 137:88627c057709 default tip
Add Sun PAM functions from Illumos headers.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 03 Jul 2025 17:33:13 -0400 |
parents | efbc235f01d3 |
children |
line wrap: on
line diff
--- a/libpam-sys/libpam-sys-helpers/src/constants.rs Thu Jul 03 14:28:04 2025 -0400 +++ b/libpam-sys/libpam-sys-helpers/src/constants.rs Thu Jul 03 17:33:13 2025 -0400 @@ -295,4 +295,10 @@ /// A flag for `pam_chauthtok`. pub const PAM_NO_AUTHTOK_CHECK: i32 = 0b1000; + + define!( + /// A flag for `__pam_get_authtok`. + PAM_PROMPT = 1; + PAM_HANDLE = 2; + ); }