Mercurial > crates > nonstick
comparison libpam-sys/src/constants.rs @ 131:a632a8874131
Get all the Linux-PAM functions into libpam-sys, and get tests right.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 02 Jul 2025 02:24:21 -0400 |
parents | c77846f3a979 |
children | 0b6a17f8c894 |
comparison
equal
deleted
inserted
replaced
130:80c07e5ab22f | 131:a632a8874131 |
---|---|
141 define!( | 141 define!( |
142 /// A message style. | 142 /// A message style. |
143 PAM_RADIO_TYPE = 5; | 143 PAM_RADIO_TYPE = 5; |
144 PAM_BINARY_PROMPT = 7; | 144 PAM_BINARY_PROMPT = 7; |
145 ); | 145 ); |
146 | |
147 pub const PAM_MODUTIL_NGROUPS: i32 = 64; | |
146 } | 148 } |
147 | 149 |
148 #[cfg_pam_impl(any("OpenPam", "Sun", "XSso"))] | 150 #[cfg_pam_impl(any("OpenPam", "Sun", "XSso"))] |
149 pub use xsso_shared::*; | 151 pub use xsso_shared::*; |
150 #[cfg_pam_impl(any("OpenPam", "Sun", "XSso"))] | 152 #[cfg_pam_impl(any("OpenPam", "Sun", "XSso"))] |