diff options
author | des <des@FreeBSD.org> | 2002-04-08 12:30:31 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-08 12:30:31 +0000 |
commit | 343af1294ca2f648272ae5428bf8fe04ec051308 (patch) | |
tree | 13fbc5f0e3fdcef7dedc9ab85b563bf59eaa3af5 /contrib/openpam/include | |
parent | 1b3dab89b21d32019ba4c46b362a853fcdb5a062 (diff) | |
download | FreeBSD-src-343af1294ca2f648272ae5428bf8fe04ec051308.zip FreeBSD-src-343af1294ca2f648272ae5428bf8fe04ec051308.tar.gz |
Vendor import of OpenPAM Cinchona.
Diffstat (limited to 'contrib/openpam/include')
-rw-r--r-- | contrib/openpam/include/security/openpam.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/contrib/openpam/include/security/openpam.h b/contrib/openpam/include/security/openpam.h index b001398..214401a 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); |