diff options
Diffstat (limited to 'auth-pam.h')
-rw-r--r-- | auth-pam.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/auth-pam.h b/auth-pam.h index 5c952f305..7881b6b80 100644 --- a/auth-pam.h +++ b/auth-pam.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: auth-pam.h,v 1.21 2003/09/02 13:18:53 djm Exp $ */ | 1 | /* $Id: auth-pam.h,v 1.16 2002/07/23 00:44:07 stevesk Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2000 Damien Miller. All rights reserved. |
@@ -31,17 +31,19 @@ | |||
31 | # define SSHD_PAM_SERVICE __progname | 31 | # define SSHD_PAM_SERVICE __progname |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | void start_pam(const char *); | 34 | void start_pam(const char *user); |
35 | void finish_pam(void); | 35 | void finish_pam(void); |
36 | u_int do_pam_account(void); | 36 | int auth_pam_password(Authctxt *authctxt, const char *password); |
37 | void do_pam_session(void); | 37 | char **fetch_pam_environment(void); |
38 | void do_pam_set_tty(const char *); | 38 | void free_pam_environment(char **env); |
39 | void do_pam_setcred(int ); | 39 | int do_pam_authenticate(int flags); |
40 | int do_pam_account(char *username, char *remote_user); | ||
41 | void do_pam_session(char *username, const char *ttyname); | ||
42 | void do_pam_setcred(int init); | ||
43 | void print_pam_messages(void); | ||
40 | int is_pam_password_change_required(void); | 44 | int is_pam_password_change_required(void); |
41 | void do_pam_chauthtok(void); | 45 | void do_pam_chauthtok(void); |
42 | int do_pam_putenv(char *, char *); | 46 | void do_pam_set_conv(struct pam_conv *); |
43 | void print_pam_messages(void); | 47 | void message_cat(char **p, const char *a); |
44 | char ** fetch_pam_environment(void); | ||
45 | void free_pam_environment(char **); | ||
46 | 48 | ||
47 | #endif /* USE_PAM */ | 49 | #endif /* USE_PAM */ |