Mercurial > crates > nonstick
comparison testharness/src/lib.rs @ 173:46e8ce5cd5d1
Miscellaneous doc and code cleanups.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Tue, 29 Jul 2025 16:52:32 -0400 |
| parents | 6727cbe56f4a |
| children | 346dc13724ce |
comparison
equal
deleted
inserted
replaced
| 172:6727cbe56f4a | 173:46e8ce5cd5d1 |
|---|---|
| 5 use std::cell::Cell; | 5 use std::cell::Cell; |
| 6 extern crate nonstick; | 6 extern crate nonstick; |
| 7 | 7 |
| 8 use nonstick::conv::{ErrorMsg, InfoMsg, MaskedQAndA, QAndA}; | 8 use nonstick::conv::{ErrorMsg, InfoMsg, MaskedQAndA, QAndA}; |
| 9 use nonstick::{ | 9 use nonstick::{ |
| 10 error, info, pam_hooks, AuthnFlags, AuthtokAction, AuthtokFlags, ErrorCode, ModuleClient, | 10 error, info, pam_export, AuthnFlags, AuthtokAction, AuthtokFlags, ErrorCode, ModuleClient, |
| 11 PamModule, | 11 PamModule, |
| 12 }; | 12 }; |
| 13 use std::ffi::CStr; | 13 use std::ffi::CStr; |
| 14 use std::os::unix::ffi::OsStrExt; | 14 use std::os::unix::ffi::OsStrExt; |
| 15 | 15 |
| 106 } | 106 } |
| 107 } | 107 } |
| 108 } | 108 } |
| 109 } | 109 } |
| 110 | 110 |
| 111 pam_hooks!(TestHarness); | 111 pam_export!(TestHarness); |
