diff src/lib.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/lib.rs	Sun Jul 06 19:04:57 2025 -0400
+++ b/src/lib.rs	Sun Jul 06 19:10:26 2025 -0400
@@ -32,10 +32,10 @@
 pub mod handle;
 
 mod _doc;
-pub(crate) use _doc::*;
 mod environ;
+pub mod items;
 #[cfg(feature = "link")]
-mod libpam;
+pub mod libpam;
 pub mod logging;
 
 #[cfg(feature = "link")]
@@ -46,6 +46,6 @@
     constants::{ErrorCode, Flags, Result},
     conv::{BinaryData, Conversation, ConversationAdapter},
     environ::{EnvironMap, EnvironMapMut},
-    handle::{PamHandleModule, PamShared, Transaction},
+    handle::{ModuleClient, PamShared, Transaction},
     module::PamModule,
 };