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 215e7528..7881b6b8 100644
--- a/auth-pam.h
+++ b/auth-pam.h
@@ -1,4 +1,4 @@
-/* $Id: auth-pam.h,v 1.15 2002/07/21 23:59:39 stevesk Exp $ */
+/* $Id: auth-pam.h,v 1.16 2002/07/23 00:44:07 stevesk Exp $ */
/*
* Copyright (c) 2000 Damien Miller. All rights reserved.
@@ -35,6 +35,7 @@ void start_pam(const char *user);
void finish_pam(void);
int auth_pam_password(Authctxt *authctxt, const char *password);
char **fetch_pam_environment(void);
+void free_pam_environment(char **env);
int do_pam_authenticate(int flags);
int do_pam_account(char *username, char *remote_user);
void do_pam_session(char *username, const char *ttyname);