comparison src/module.rs @ 173:46e8ce5cd5d1

Miscellaneous doc and code cleanups.
author Paul Fisher <paul@pfish.zone>
date Tue, 29 Jul 2025 16:52:32 -0400
parents e27c5c667a5a
children
comparison
equal deleted inserted replaced
172:6727cbe56f4a 173:46e8ce5cd5d1
12 /// A trait for a PAM module to implement. 12 /// A trait for a PAM module to implement.
13 /// 13 ///
14 /// The default implementations of all these hooks tell PAM to ignore them 14 /// The default implementations of all these hooks tell PAM to ignore them
15 /// (i.e., behave as if this module does not exist) by returning [`ErrorCode::Ignore`]. 15 /// (i.e., behave as if this module does not exist) by returning [`ErrorCode::Ignore`].
16 /// Override any functions you wish to handle in your module. 16 /// Override any functions you wish to handle in your module.
17 /// After implementing this trait, use the [`pam_hooks!`](crate::pam_hooks!) macro 17 /// After implementing this trait, use the [`pam_export!`](crate::pam_export!) macro
18 /// to make the functions available to PAM. 18 /// to make the functions available to PAM.
19 /// 19 ///
20 /// For more information, see [`pam(3)`’s root manual page][manpage] 20 /// For more information, see [`pam(3)`’s root manual page][manpage]
21 /// and the [PAM Module Writer’s Guide][mwg]. 21 /// and the [PAM Module Writer’s Guide][mwg].
22 /// 22 ///