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