diff src/constants.rs @ 146:1bc52025156b

Split PAM items into their own separate struct. To trim down the number of methods on `PamShared`, this puts all the Items into their own struct(s). This also makes the split between authtok/authtok_item easier to understand.
author Paul Fisher <paul@pfish.zone>
date Sun, 06 Jul 2025 19:10:26 -0400
parents 33b9622ed6d2
children 4b3a5095f68c
line wrap: on
line diff
--- a/src/constants.rs	Sun Jul 06 19:04:57 2025 -0400
+++ b/src/constants.rs	Sun Jul 06 19:10:26 2025 -0400
@@ -1,6 +1,6 @@
 //! Constants and enum values from the PAM library.
 
-use crate::{linklist, man7, manbsd, xsso};
+use crate::_doc::{linklist, man7, manbsd, xsso};
 use bitflags::bitflags;
 use num_enum::{IntoPrimitive, TryFromPrimitive};
 use std::error::Error;