Mercurial > crates > nonstick
comparison src/libpam/pam_ffi.rs @ 92:5ddbcada30f2
Add the ability to log against a PAM handle.
PAM impls provide a way to log to syslog. This exposes it via nonstick.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 22 Jun 2025 19:29:32 -0400 |
parents | f6186e41399b |
children | efe2f5f8b5b2 |
comparison
equal
deleted
inserted
replaced
91:039aae9a01f7 | 92:5ddbcada30f2 |
---|---|
1 //! The types that are directly represented in PAM function signatures. | 1 //! The types that are directly represented in PAM function signatures. |
2 | 2 |
3 #![allow(non_camel_case_types)] | 3 #![allow(non_camel_case_types, non_upper_case_globals)] |
4 | 4 |
5 use crate::libpam::memory::Immovable; | 5 use crate::libpam::memory::Immovable; |
6 use std::ffi::{c_int, c_uint, c_void, CStr}; | 6 use std::ffi::{c_int, c_uint, c_void, CStr}; |
7 use std::marker::PhantomData; | 7 use std::marker::PhantomData; |
8 use std::ptr; | 8 use std::ptr; |