blob: f537fe7ba27016467728608f1589e1b4ec0a8703 [file] [log] [blame]
Damien Millere72b7af1999-12-30 15:08:44 +11001#include "includes.h"
2#ifdef USE_PAM
3
4#include <pwd.h> /* For struct passwd */
5
6void start_pam(struct passwd *pw);
7void finish_pam(void);
8int auth_pam_password(struct passwd *pw, const char *password);
9char **fetch_pam_environment(void);
10int do_pam_account(char *username, char *remote_user);
Damien Miller3e955e72000-01-27 10:55:38 +110011void do_pam_session(char *username, const char *ttyname);
Damien Millere72b7af1999-12-30 15:08:44 +110012void do_pam_setcred();
13void print_pam_messages(void);
Damien Miller9d5705a2000-09-16 16:09:27 +110014void do_pam_chauthtok();
Damien Millere72b7af1999-12-30 15:08:44 +110015
16#endif /* USE_PAM */