Mercurial > crates > nonstick
diff src/lib.rs @ 166:2f5913131295
Separate flag/action flags into flags and action.
This also individualizes the type of flag for each PAM function,
so that you can only call a function with the right flags and values.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Tue, 15 Jul 2025 00:32:24 -0400 |
parents | 1bc52025156b |
children | e27c5c667a5a |
line wrap: on
line diff
--- a/src/lib.rs Mon Jul 14 18:56:55 2025 -0400 +++ b/src/lib.rs Tue Jul 15 00:32:24 2025 -0400 @@ -43,7 +43,9 @@ pub use crate::libpam::{LibPamHandle, LibPamTransaction}; #[doc(inline)] pub use crate::{ - constants::{ErrorCode, Flags, Result}, + constants::{ + AuthnFlags, AuthtokAction, AuthtokFlags, BaseFlags, CredAction, ErrorCode, Result, + }, conv::{BinaryData, Conversation, ConversationAdapter}, environ::{EnvironMap, EnvironMapMut}, handle::{ModuleClient, PamShared, Transaction},