Mercurial > crates > nonstick
diff src/lib.rs @ 144:56b559b7ecea
Big rename: separate concepts of Transaction from Handle.
- An application that uses PAM creates a Transaction.
- The Transaction has a Handle.
Currently, a module still get something called a "handle",
but that's probably going to change soon.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 06 Jul 2025 11:59:26 -0400 |
parents | a508a69c068a |
children | 1bc52025156b |
line wrap: on
line diff
--- a/src/lib.rs Sat Jul 05 22:12:46 2025 -0400 +++ b/src/lib.rs Sun Jul 06 11:59:26 2025 -0400 @@ -40,12 +40,12 @@ #[cfg(feature = "link")] #[doc(inline)] -pub use crate::libpam::{OwnedLibPamHandle, RawPamHandle}; +pub use crate::libpam::{LibPamHandle, LibPamTransaction}; #[doc(inline)] pub use crate::{ constants::{ErrorCode, Flags, Result}, conv::{BinaryData, Conversation, ConversationAdapter}, environ::{EnvironMap, EnvironMapMut}, - handle::{PamHandleApplication, PamHandleModule, PamShared}, + handle::{PamHandleModule, PamShared, Transaction}, module::PamModule, };