1 /* $Id: auth-pam.h,v 1.12 2002/04/04 19:02:28 stevesk Exp $ */ 2 3 #include "includes.h" 4 #ifdef USE_PAM 5 6 #include <pwd.h> /* For struct passwd */ 7 8 void start_pam(const char *user); 9 void finish_pam(void); 10 int auth_pam_password(Authctxt *authctxt, const char *password); 11 char **fetch_pam_environment(void); 12 int do_pam_authenticate(int flags); 13 int do_pam_account(char *username, char *remote_user); 14 void do_pam_session(char *username, const char *ttyname); 15 void do_pam_setcred(int init); 16 void print_pam_messages(void); 17 int is_pam_password_change_required(void); 18 void do_pam_chauthtok(void); 19 void do_pam_set_conv(struct pam_conv *); 20 void message_cat(char **p, const char *a); 21 22 #endif /* USE_PAM */ 23