summaryrefslogtreecommitdiff
path: root/auth-pam.h
diff options
context:
space:
mode:
Diffstat (limited to 'auth-pam.h')
-rw-r--r--auth-pam.h22
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
34void start_pam(const char *); 34void start_pam(const char *user);
35void finish_pam(void); 35void finish_pam(void);
36u_int do_pam_account(void); 36int auth_pam_password(Authctxt *authctxt, const char *password);
37void do_pam_session(void); 37char **fetch_pam_environment(void);
38void do_pam_set_tty(const char *); 38void free_pam_environment(char **env);
39void do_pam_setcred(int ); 39int do_pam_authenticate(int flags);
40int do_pam_account(char *username, char *remote_user);
41void do_pam_session(char *username, const char *ttyname);
42void do_pam_setcred(int init);
43void print_pam_messages(void);
40int is_pam_password_change_required(void); 44int is_pam_password_change_required(void);
41void do_pam_chauthtok(void); 45void do_pam_chauthtok(void);
42int do_pam_putenv(char *, char *); 46void do_pam_set_conv(struct pam_conv *);
43void print_pam_messages(void); 47void message_cat(char **p, const char *a);
44char ** fetch_pam_environment(void);
45void free_pam_environment(char **);
46 48
47#endif /* USE_PAM */ 49#endif /* USE_PAM */