Mercurial > crates > nonstick
comparison libpam-sys/libpam-sys-test/illumos_pam_impl.h @ 137:88627c057709 default tip
Add Sun PAM functions from Illumos headers.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 03 Jul 2025 17:33:13 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
136:efbc235f01d3 | 137:88627c057709 |
---|---|
1 /* | |
2 * Semi-public functions exposed in Sun's `libpam.so`. | |
3 * https://code.illumos.org/plugins/gitiles/illumos-gate/+/f3a1073761f959966ab629695ee17f4417413796/usr/src/lib/libpam/pam_impl.h | |
4 */ | |
5 | |
6 #define PAM_PROMPT 1 | |
7 #define PAM_HANDLE 2 | |
8 | |
9 extern int __pam_get_authtok( | |
10 pam_handle_t *pamh, | |
11 int source, | |
12 int type, | |
13 char *prompt, | |
14 char **authtok | |
15 ); | |
16 | |
17 extern void __pam_log( | |
18 int priority, | |
19 const char *format, | |
20 ... | |
21 ); |