- (djm) Sync auth-pam.h with what we actually implement

This commit is contained in:
Damien Miller 2003-05-19 11:28:44 +10:00
parent c322bbaabd
commit eb0e969a4f
2 changed files with 13 additions and 14 deletions

View File

@ -1,4 +1,7 @@
20030517 20030519
- (djm) Sync auth-pam.h with what we actually implement
20030518
- (djm) Return of the dreaded PAM_TTY_KLUDGE, which went missing in - (djm) Return of the dreaded PAM_TTY_KLUDGE, which went missing in
recent merge recent merge
- (djm) OpenBSD CVS Sync - (djm) OpenBSD CVS Sync
@ -1575,4 +1578,4 @@
save auth method before monitor_reset_key_state(); bugzilla bug #284; save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@ ok provos@
$Id: ChangeLog,v 1.2741 2003/05/18 14:50:02 djm Exp $ $Id: ChangeLog,v 1.2742 2003/05/19 01:28:44 djm Exp $

View File

@ -1,4 +1,4 @@
/* $Id: auth-pam.h,v 1.17 2003/05/10 09:28:02 djm Exp $ */ /* $Id: auth-pam.h,v 1.18 2003/05/19 01:28:44 djm Exp $ */
/* /*
* Copyright (c) 2000 Damien Miller. All rights reserved. * Copyright (c) 2000 Damien Miller. All rights reserved.
@ -31,19 +31,15 @@
# define SSHD_PAM_SERVICE __progname # define SSHD_PAM_SERVICE __progname
#endif #endif
void start_pam(const char *user); void start_pam(const char *);
void finish_pam(void); void finish_pam(void);
int auth_pam_password(Authctxt *authctxt, const char *password); int do_pam_account(const char *, const char *);
char **fetch_pam_environment(void); void do_pam_session(const char *, const char *);
void free_pam_environment(char **env); void do_pam_setcred(int );
int do_pam_authenticate(int flags);
int do_pam_account(const char *user, const char *ruser);
void do_pam_session(const char *user, const char *tty);
void do_pam_setcred(int init);
void print_pam_messages(void);
int is_pam_password_change_required(void); int is_pam_password_change_required(void);
void do_pam_chauthtok(void); void do_pam_chauthtok(void);
void do_pam_set_conv(struct pam_conv *); void print_pam_messages(void);
void message_cat(char **p, const char *a); char ** fetch_pam_environment(void);
void free_pam_environment(char **);
#endif /* USE_PAM */ #endif /* USE_PAM */