comparison src/lib.rs @ 70:9f8381a1c09c

Implement low-level conversation primitives. This change does two primary things: 1. Introduces new Conversation traits, to be implemented both by the library and by PAM client applications. 2. Builds the memory-management infrastructure for passing messages through the conversation. ...and it adds tests for both of the above, including ASAN tests.
author Paul Fisher <paul@pfish.zone>
date Tue, 03 Jun 2025 01:21:59 -0400
parents 8f3ae0c7ab92
children 58f9d2a4df38
comparison
equal deleted inserted replaced
69:8f3ae0c7ab92 70:9f8381a1c09c
21 //! [The Linux-PAM Module Writers' Guide][module-guide] 21 //! [The Linux-PAM Module Writers' Guide][module-guide]
22 //! 22 //!
23 //! [module-guide]: https://www.chiark.greenend.org.uk/doc/libpam-doc/html/Linux-PAM_MWG.html 23 //! [module-guide]: https://www.chiark.greenend.org.uk/doc/libpam-doc/html/Linux-PAM_MWG.html
24 24
25 pub mod constants; 25 pub mod constants;
26 #[cfg(feature = "experimental")]
27 pub mod conv; 26 pub mod conv;
28 pub mod items; 27 pub mod items;
29 mod module; 28 pub mod module;
30 29
31 mod handle; 30 mod handle;
32 mod memory; 31 mod memory;
33 mod pam_ffi; 32 mod pam_ffi;
34 33