Mercurial > crates > nonstick
comparison libpam-sys/src/ffi.rs @ 129:5b2de52dd8b2
Cleanups: create readmes, add a few docs, remove cruft.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Mon, 30 Jun 2025 23:49:54 -0400 |
| parents | c77846f3a979 |
| children | 80c07e5ab22f |
comparison
equal
deleted
inserted
replaced
| 128:ad77f2af5ff4 | 129:5b2de52dd8b2 |
|---|---|
| 216 // cfg_pam_impl. | 216 // cfg_pam_impl. |
| 217 #[cfg(_private_pam_impl_hack = "LinuxPam")] | 217 #[cfg(_private_pam_impl_hack = "LinuxPam")] |
| 218 extern "C" { | 218 extern "C" { |
| 219 pub fn pam_get_authtok(pamh: *mut pam_handle, x: c_int, token: *mut *const c_char, prompt: *const c_char) -> c_int; | 219 pub fn pam_get_authtok(pamh: *mut pam_handle, x: c_int, token: *mut *const c_char, prompt: *const c_char) -> c_int; |
| 220 } | 220 } |
| 221 | |
| 222 | |
| 223 // int (*)(struct pam_handle *, char *, void *, void (*)(struct pam_handle *, void *, int)) | |
| 224 // int (*)(struct pam_handle *, char *, void *, int (*)(struct pam_handle *, void *, int)) |
