summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/lib/pam_end.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-02-23 01:24:02 +0000
committerdes <des@FreeBSD.org>2002-02-23 01:24:02 +0000
commitb7924daede5918d4af38aea32dcfe788509d2326 (patch)
treeae223d64d0eef9481ac27d428fd4c517fe5427e4 /contrib/openpam/lib/pam_end.c
parent8f1441cfb24a5778dd1a680f7f9b48ef1560d682 (diff)
downloadFreeBSD-src-b7924daede5918d4af38aea32dcfe788509d2326.zip
FreeBSD-src-b7924daede5918d4af38aea32dcfe788509d2326.tar.gz
Vendor import of OpenPAM Cantaloupe
Diffstat (limited to 'contrib/openpam/lib/pam_end.c')
-rw-r--r--contrib/openpam/lib/pam_end.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/openpam/lib/pam_end.c b/contrib/openpam/lib/pam_end.c
index 0fbfdf8..b7c170f 100644
--- a/contrib/openpam/lib/pam_end.c
+++ b/contrib/openpam/lib/pam_end.c
@@ -82,3 +82,17 @@ pam_end(pam_handle_t *pamh,
return (PAM_SUCCESS);
}
+
+/*
+ * Error codes:
+ *
+ * PAM_SYSTEM_ERR
+ */
+
+/**
+ * The =pam_end function terminates a PAM transaction and destroys the
+ * corresponding PAM context, releasing all resources allocated to it.
+ *
+ * The =status argument should be set to the error code returned by the
+ * last API call before the call to =pam_end.
+ */
OpenPOWER on IntegriCloud