view src/libpam/mod.rs @ 149:14708d9061dc

Add safety section to BinaryPayload::total_bytes.
author Paul Fisher <paul@pfish.zone>
date Mon, 07 Jul 2025 12:30:25 -0400
parents 1bc52025156b
children
line wrap: on
line source

//! The implementation of the PAM interface that wraps `libpam`.
//!
//! While you're going to want to write PAM modules and applications against
//! the interfaces in [the `handle` module](crate::handle) for testability,
//! this is (probably) what will be used behind the scenes.

#![allow(dead_code)]

mod answer;
mod conversation;
mod environ;
mod handle;
mod items;
mod memory;
mod module;
mod question;

#[doc(inline)]
pub use handle::{LibPamHandle, LibPamTransaction, TransactionBuilder};