Changeset 111 in openpam for trunk/include/security/pam_modules.h


Ignore:
Timestamp:
Apr 12, 2002, 8:16:08 PM (19 years ago)
Author:
Dag-Erling Smørgrav
Message:

Adopt the same preprocessor tricks that Linux-PAM uses for modules.
This reduces the amount of changes needed to adopt modules written
for Linux-PAM.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/security/pam_modules.h

    r93 r111  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/include/security/pam_modules.h#6 $
     34 * $P4: //depot/projects/openpam/include/security/pam_modules.h#7 $
    3535 */
    3636
     
    5050 */
    5151
     52#if defined(PAM_SM_ACCOUNT)
    5253PAM_EXTERN int
    5354pam_sm_acct_mgmt(pam_handle_t *_pamh,
     
    5556        int _argc,
    5657        const char **_argv);
     58#endif
    5759
     60#if defined(PAM_SM_AUTH)
    5861PAM_EXTERN int
    5962pam_sm_authenticate(pam_handle_t *_pamh,
     
    6164        int _argc,
    6265        const char **_argv);
     66#endif
    6367
     68#if defined(PAM_SM_PASSWORD)
    6469PAM_EXTERN int
    6570pam_sm_chauthtok(pam_handle_t *_pamh,
     
    6772        int _argc,
    6873        const char **_argv);
     74#endif
    6975
     76#if defined(PAM_SM_SESSION)
    7077PAM_EXTERN int
    7178pam_sm_close_session(pam_handle_t *_pamh,
     
    7380        int _args,
    7481        const char **_argv);
     82#endif
    7583
     84#if defined(PAM_SM_SESSION)
    7685PAM_EXTERN int
    7786pam_sm_open_session(pam_handle_t *_pamh,
     
    7988        int _argc,
    8089        const char **_argv);
     90#endif
    8191
     92#if defined(PAM_SM_AUTH)
    8293PAM_EXTERN int
    8394pam_sm_setcred(pam_handle_t *_pamh,
     
    8596        int _argc,
    8697        const char **_argv);
     98#endif
    8799
    88100/*
Note: See TracChangeset for help on using the changeset viewer.