Mercurial > crates > nonstick
diff src/lib.rs @ 72:47eb242a4f88
Fill out the PamHandle trait.
This updates the PamHandle trait to have methods for each Item,
and implements them on the LibPamHandle.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 04 Jun 2025 03:53:36 -0400 |
parents | 58f9d2a4df38 |
children | ac6881304c78 |
line wrap: on
line diff
--- a/src/lib.rs Tue Jun 03 21:54:58 2025 -0400 +++ b/src/lib.rs Wed Jun 04 03:53:36 2025 -0400 @@ -22,9 +22,12 @@ //! //! [module-guide]: https://www.chiark.greenend.org.uk/doc/libpam-doc/html/Linux-PAM_MWG.html +// Temporary until everything is fully wired up. +#![allow(dead_code)] + pub mod constants; -pub mod conv; -pub mod items; +mod conv; +mod items; pub mod module; mod handle; @@ -33,6 +36,8 @@ #[doc(inline)] pub use crate::{ constants::{ErrorCode, Flags, Result}, - handle::{LibPamHandle, PamApplicationHandle, PamHandle, PamModuleHandle}, + conv::{Conversation, DemuxedConversation, Response}, + handle::{PamApplicationHandle, PamHandle, PamModuleHandle}, module::PamModule, + pam_ffi::{LibPamHandle, Message}, };