comparison testharness/src/lib.rs @ 159:634cd5f2ac8b

Separate logging into its own trait apart from the rest of PAM.
author Paul Fisher <paul@pfish.zone>
date Sat, 12 Jul 2025 18:16:18 -0400
parents 1bc52025156b
children a75a66cb4181
comparison
equal deleted inserted replaced
158:d5b7b28d754e 159:634cd5f2ac8b
16 _args: Vec<&CStr>, 16 _args: Vec<&CStr>,
17 _flags: Flags, 17 _flags: Flags,
18 ) -> nonstick::Result<()> { 18 ) -> nonstick::Result<()> {
19 Ok(()) 19 Ok(())
20 } 20 }
21
22 fn change_authtok(_handle: &mut M, _args: Vec<&CStr>, _flags: Flags) -> nonstick::Result<()> {
23 todo!()
24 }
21 } 25 }
22 26
23 pam_hooks!(TestHarness); 27 pam_hooks!(TestHarness);