view src/libpam/mod.rs @ 81:a8f4718fed5d

When dynamically linking against the wrong PAM, fail.
author Paul Fisher <paul@pfish.zone>
date Tue, 10 Jun 2025 01:16:39 -0400
parents 5aa1a010f1e8
children
line wrap: on
line source

//! The PAM library FFI and helpers for managing it.
//!
//! This includes the functions provided by PAM and the data structures
//! used by PAM, as well as a few low-level abstractions for dealing with
//! those data structures.
//!
//! Everything in here is hazmat.

#![allow(dead_code)]

mod answer;
mod conversation;
mod handle;
mod memory;
mod module;
pub(crate) mod pam_ffi;
mod question;

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