summaryrefslogtreecommitdiff
path: root/auth-pam.h
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-07-23 00:44:07 +0000
committerKevin Steves <stevesk@pobox.com>2002-07-23 00:44:07 +0000
commit38b050a0f526d1b7982deb9d19f59c95f7b91b22 (patch)
tree7594cc4c8543dd983ddbafea6170ebcacffa1847 /auth-pam.h
parent446d886fa5b295b03031de840286dbe4b7d904a3 (diff)
- (stevesk) [auth-pam.[ch] session.c] pam_getenvlist() must be
freed by the caller; add free_pam_environment() and use it.
Diffstat (limited to 'auth-pam.h')
-rw-r--r--auth-pam.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth-pam.h b/auth-pam.h
index 215e75282..7881b6b80 100644
--- a/auth-pam.h
+++ b/auth-pam.h
@@ -1,4 +1,4 @@
1/* $Id: auth-pam.h,v 1.15 2002/07/21 23:59:39 stevesk Exp $ */ 1/* $Id: auth-pam.h,v 1.16 2002/07/23 00:44:07 stevesk Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Damien Miller. All rights reserved. 4 * Copyright (c) 2000 Damien Miller. All rights reserved.
@@ -35,6 +35,7 @@ void start_pam(const char *user);
35void finish_pam(void); 35void finish_pam(void);
36int auth_pam_password(Authctxt *authctxt, const char *password); 36int auth_pam_password(Authctxt *authctxt, const char *password);
37char **fetch_pam_environment(void); 37char **fetch_pam_environment(void);
38void free_pam_environment(char **env);
38int do_pam_authenticate(int flags); 39int do_pam_authenticate(int flags);
39int do_pam_account(char *username, char *remote_user); 40int do_pam_account(char *username, char *remote_user);
40void do_pam_session(char *username, const char *ttyname); 41void do_pam_session(char *username, const char *ttyname);