diff options
Diffstat (limited to 'other/openssh-reverse/auth-pam.h')
| -rw-r--r-- | other/openssh-reverse/auth-pam.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/other/openssh-reverse/auth-pam.h b/other/openssh-reverse/auth-pam.h new file mode 100644 index 0000000..191d80c --- /dev/null +++ b/other/openssh-reverse/auth-pam.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #include "includes.h" | ||
| 2 | #ifdef USE_PAM | ||
| 3 | |||
| 4 | #include <pwd.h> /* For struct passwd */ | ||
| 5 | |||
| 6 | void start_pam(struct passwd *pw); | ||
| 7 | void finish_pam(void); | ||
| 8 | int auth_pam_password(struct passwd *pw, const char *password); | ||
| 9 | char **fetch_pam_environment(void); | ||
| 10 | int do_pam_account(char *username, char *remote_user); | ||
| 11 | void do_pam_session(char *username, const char *ttyname); | ||
| 12 | void do_pam_setcred(); | ||
| 13 | void print_pam_messages(void); | ||
| 14 | |||
| 15 | #endif /* USE_PAM */ | ||
