Mercurial > crates > nonstick
diff src/lib.rs @ 73:ac6881304c78
Do conversations, along with way too much stuff.
This implements conversations, along with all the memory management
brouhaha that goes along with it. The conversation now lives directly
on the handle rather than being a thing you have to get from it
and then call manually. It Turns Out this makes things a lot easier!
I guess we reorganized things again. For the last time. For real.
I promise.
This all passes ASAN, so it seems Pretty Good!
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 05 Jun 2025 03:41:38 -0400 |
parents | 47eb242a4f88 |
children | c7c596e6388f |
line wrap: on
line diff
--- a/src/lib.rs Wed Jun 04 03:53:36 2025 -0400 +++ b/src/lib.rs Thu Jun 05 03:41:38 2025 -0400 @@ -27,17 +27,16 @@ pub mod constants; mod conv; -mod items; pub mod module; -mod handle; +pub mod handle; mod pam_ffi; #[doc(inline)] pub use crate::{ constants::{ErrorCode, Flags, Result}, - conv::{Conversation, DemuxedConversation, Response}, - handle::{PamApplicationHandle, PamHandle, PamModuleHandle}, + conv::{Conversation, ConversationMux, DemuxedConversation, Response}, + handle::{PamHandleApplication, PamHandleModule, PamShared}, module::PamModule, - pam_ffi::{LibPamHandle, Message}, + pam_ffi::{LibPamHandle, OwnedLibPamHandle}, };