X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/8c9fe09e13b26c72da31caf515d93733522c99c7..eea098a35a7ed7fd460ffb549c241aa9d47c2919:/auth-pam.h diff --git a/auth-pam.h b/auth-pam.h index ca261afe..30e4df51 100644 --- a/auth-pam.h +++ b/auth-pam.h @@ -1,19 +1,22 @@ +/* $Id$ */ + #include "includes.h" #ifdef USE_PAM #include /* For struct passwd */ -void start_pam(struct passwd *pw); +void start_pam(const char *user); void finish_pam(void); int auth_pam_password(struct passwd *pw, const char *password); char **fetch_pam_environment(void); int do_pam_authenticate(int flags); int do_pam_account(char *username, char *remote_user); void do_pam_session(char *username, const char *ttyname); -void do_pam_setcred(void); +void do_pam_setcred(int init); void print_pam_messages(void); -int pam_password_change_required(void); +int is_pam_password_change_required(void); void do_pam_chauthtok(void); -void pam_set_conv(struct pam_conv *); +void do_pam_set_conv(struct pam_conv *); +void message_cat(char **p, const char *a); #endif /* USE_PAM */