Mercurial > crates > nonstick
comparison 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 |
comparison
equal
deleted
inserted
replaced
165:c4b1e280463c | 166:2f5913131295 |
---|---|
41 #[cfg(feature = "link")] | 41 #[cfg(feature = "link")] |
42 #[doc(inline)] | 42 #[doc(inline)] |
43 pub use crate::libpam::{LibPamHandle, LibPamTransaction}; | 43 pub use crate::libpam::{LibPamHandle, LibPamTransaction}; |
44 #[doc(inline)] | 44 #[doc(inline)] |
45 pub use crate::{ | 45 pub use crate::{ |
46 constants::{ErrorCode, Flags, Result}, | 46 constants::{ |
47 AuthnFlags, AuthtokAction, AuthtokFlags, BaseFlags, CredAction, ErrorCode, Result, | |
48 }, | |
47 conv::{BinaryData, Conversation, ConversationAdapter}, | 49 conv::{BinaryData, Conversation, ConversationAdapter}, |
48 environ::{EnvironMap, EnvironMapMut}, | 50 environ::{EnvironMap, EnvironMapMut}, |
49 handle::{ModuleClient, PamShared, Transaction}, | 51 handle::{ModuleClient, PamShared, Transaction}, |
50 module::PamModule, | 52 module::PamModule, |
51 }; | 53 }; |