Mercurial > crates > nonstick
diff src/libpam/mod.rs @ 146:1bc52025156b
Split PAM items into their own separate struct.
To trim down the number of methods on `PamShared`, this puts all the
Items into their own struct(s). This also makes the split between
authtok/authtok_item easier to understand.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 06 Jul 2025 19:10:26 -0400 |
parents | 56b559b7ecea |
children |
line wrap: on
line diff
--- a/src/libpam/mod.rs Sun Jul 06 19:04:57 2025 -0400 +++ b/src/libpam/mod.rs Sun Jul 06 19:10:26 2025 -0400 @@ -10,9 +10,10 @@ mod conversation; mod environ; mod handle; +mod items; mod memory; mod module; mod question; #[doc(inline)] -pub use handle::{LibPamHandle, LibPamTransaction}; +pub use handle::{LibPamHandle, LibPamTransaction, TransactionBuilder};