comparison libpam-sys/src/lib.rs @ 154:f71bfffb6de1

fix remaining AppDatas in libpam-sys
author Paul Fisher <paul@pfish.zone>
date Tue, 08 Jul 2025 00:42:09 -0400
parents 3036f2e6a022
children
comparison
equal deleted inserted replaced
153:3036f2e6a022 154:f71bfffb6de1
420 /// ``` 420 /// ```
421 pub fn openpam_ttyconv( 421 pub fn openpam_ttyconv(
422 n: c_int, 422 n: c_int,
423 _msg: *const *const pam_message, 423 _msg: *const *const pam_message,
424 _resp: *mut *mut pam_response, 424 _resp: *mut *mut pam_response,
425 _data: *mut AppData, 425 _data: *mut c_void,
426 ) -> c_int; 426 ) -> c_int;
427 427
428 pub static mut openpam_ttyconv_timeout: c_int; 428 pub static mut openpam_ttyconv_timeout: c_int;
429 429
430 /// A null conversation function. 430 /// A null conversation function.
446 /// ``` 446 /// ```
447 pub fn openpam_nullconv( 447 pub fn openpam_nullconv(
448 n: c_int, 448 n: c_int,
449 _msg: *const *const pam_message, 449 _msg: *const *const pam_message,
450 _resp: *mut *mut pam_response, 450 _resp: *mut *mut pam_response,
451 _data: *mut AppData, 451 _data: *mut c_void,
452 ) -> c_int; 452 ) -> c_int;
453 } 453 }
454 454
455 #[cfg(pam_impl = "Sun")] 455 #[cfg(pam_impl = "Sun")]
456 extern "C" { 456 extern "C" {