view libpam-sys/src/lib.rs @ 109:bb465393621f

Minor cleanup and reorg. - Use those nice new macros we just implemented. - Straighten out the macro file. - Move the `BinaryPayload` into `structs.rs`, leaving helpers behind.
author Paul Fisher <paul@pfish.zone>
date Sat, 28 Jun 2025 02:49:35 -0400
parents e97534be35e3
children 2346fd501b7a
line wrap: on
line source

#![doc = include_str!("../README.md")]
//!
//! ## PAM implementation
//!
#![doc = concat!("This documentation was built for the **", pam_impl_name!(), "** implementation.")]

#[doc(inline)]
pub use libpam_sys_impls::cfg_pam_impl;
use libpam_sys_impls::{pam_impl_enum, pam_impl_name};
mod constants;

pam_impl_enum!();

pub mod helpers;
mod structs;

#[doc(inline)]
pub use crate::{constants::*, structs::*};