aboutsummaryrefslogtreecommitdiff
path: root/contrib/openpam/include/security/openpam.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-04-08 12:30:31 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-04-08 12:30:31 +0000
commit93889be53d55af1c721953c05654a8169c147e73 (patch)
tree13fbc5f0e3fdcef7dedc9ab85b563bf59eaa3af5 /contrib/openpam/include/security/openpam.h
parent11d144d32568b60f4eed5221e149576ce4450440 (diff)
downloadsrc-93889be53d55af1c721953c05654a8169c147e73.tar.gz
src-93889be53d55af1c721953c05654a8169c147e73.zip
Notes
Diffstat (limited to 'contrib/openpam/include/security/openpam.h')
-rw-r--r--contrib/openpam/include/security/openpam.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/contrib/openpam/include/security/openpam.h b/contrib/openpam/include/security/openpam.h
index b001398e90e3..214401ae343e 100644
--- a/contrib/openpam/include/security/openpam.h
+++ b/contrib/openpam/include/security/openpam.h
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/openpam/include/security/openpam.h#14 $
+ * $P4: //depot/projects/openpam/include/security/openpam.h#15 $
*/
#ifndef _SECURITY_OPENPAM_H_INCLUDED
@@ -46,14 +46,28 @@
extern "C" {
#endif
+struct passwd;
+
/*
* API extensions
*/
+int
+openpam_borrow_cred(pam_handle_t *_pamh,
+ const struct passwd *_pwd);
+
+void
+openpam_free_data(pam_handle_t *_pamh,
+ void *_data,
+ int _status);
+
const char *
openpam_get_option(pam_handle_t *_pamh,
const char *_option);
int
+openpam_restore_cred(pam_handle_t *_pamh);
+
+int
openpam_set_option(pam_handle_t *_pamh,
const char *_option,
const char *_value);