comparison libpam-sys/src/lib.rs @ 127:c77846f3a979

GET CTEST WORKING. This will verify that the functions we're exporting are correct. It has been a nightmare.
author Paul Fisher <paul@pfish.zone>
date Mon, 30 Jun 2025 22:56:26 -0400
parents 2b255c92417b
children
comparison
equal deleted inserted replaced
126:57c812e308bd 127:c77846f3a979
42 /// [man7]: https://man7.org/linux/man-pages/man3/pam_conv.3.html 42 /// [man7]: https://man7.org/linux/man-pages/man3/pam_conv.3.html
43 #[doc(inline)] 43 #[doc(inline)]
44 pub use libpam_sys_impls::cfg_pam_impl; 44 pub use libpam_sys_impls::cfg_pam_impl;
45 45
46 mod constants; 46 mod constants;
47 // We get `funcs` from different places depending upon the PAM implementation. 47 mod ffi;
48 // This is because
49 #[path = "funcs/xsso_base.rs"]
50 mod funcs;
51 pub mod helpers; 48 pub mod helpers;
52 mod structs;
53 49
54 #[doc(inline)] 50 #[doc(inline)]
55 pub use crate::{constants::*, funcs::*, structs::*}; 51 pub use crate::{constants::*, ffi::*};
56 52
57 // Looking for the actual code defining this enum? 53 // Looking for the actual code defining this enum?
58 // It's in the build.rs file for libpam_sys_impls. 54 // It's in the build.rs file for libpam_sys_impls.
59 __pam_impl_enum__!(#[non_exhaustive]); 55 __pam_impl_enum__!(#[non_exhaustive]);