diff options
Diffstat (limited to 'other/ssharp/auth-pam.h')
| -rw-r--r-- | other/ssharp/auth-pam.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/other/ssharp/auth-pam.h b/other/ssharp/auth-pam.h new file mode 100644 index 0000000..297f3a2 --- /dev/null +++ b/other/ssharp/auth-pam.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* $Id: auth-pam.h,v 1.1.1.1 2001/09/19 14:44:59 stealth Exp $ */ | ||
| 2 | |||
| 3 | #include "includes.h" | ||
| 4 | #ifdef USE_PAM | ||
| 5 | |||
| 6 | #include <pwd.h> /* For struct passwd */ | ||
| 7 | |||
| 8 | void start_pam(const char *user); | ||
| 9 | void finish_pam(void); | ||
| 10 | int auth_pam_password(struct passwd *pw, const char *password); | ||
| 11 | char **fetch_pam_environment(void); | ||
| 12 | int do_pam_authenticate(int flags); | ||
| 13 | int do_pam_account(char *username, char *remote_user); | ||
| 14 | void do_pam_session(char *username, const char *ttyname); | ||
| 15 | void do_pam_setcred(int init); | ||
| 16 | void print_pam_messages(void); | ||
| 17 | int is_pam_password_change_required(void); | ||
| 18 | void do_pam_chauthtok(void); | ||
| 19 | void do_pam_set_conv(struct pam_conv *); | ||
| 20 | void message_cat(char **p, const char *a); | ||
| 21 | |||
| 22 | #endif /* USE_PAM */ | ||
