123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- #ifndef _SECURITY_PAM_APPL_H
- #define _SECURITY_PAM_APPL_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <security/_pam_types.h> /* Linux-PAM common defined types */
- extern int PAM_NONNULL((1,3,4))
- pam_start(const char *service_name, const char *user,
- const struct pam_conv *pam_conversation,
- pam_handle_t **pamh);
- extern int PAM_NONNULL((1))
- pam_end(pam_handle_t *pamh, int pam_status);
- extern int PAM_NONNULL((1))
- pam_authenticate(pam_handle_t *pamh, int flags);
- extern int PAM_NONNULL((1))
- pam_setcred(pam_handle_t *pamh, int flags);
- extern int PAM_NONNULL((1))
- pam_acct_mgmt(pam_handle_t *pamh, int flags);
- extern int PAM_NONNULL((1))
- pam_open_session(pam_handle_t *pamh, int flags);
- extern int PAM_NONNULL((1))
- pam_close_session(pam_handle_t *pamh, int flags);
- extern int PAM_NONNULL((1))
- pam_chauthtok(pam_handle_t *pamh, int flags);
- #include <security/_pam_compat.h>
- #ifdef __cplusplus
- }
- #endif
- #endif
|