VirtualBox

Ignore:
Timestamp:
May 5, 2010 8:48:31 AM (15 years ago)
Author:
vboxsync
Message:

pam: export symbols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/pam/pam_vbox.c

    r29055 r29057  
    3535#ifdef RT_OS_LINUX
    3636#include <security/_pam_macros.h>
    37 #endif
    38 
    39 #ifndef PAM_EXTERN
    40 # define PAM_EXTERN extern
    4137#endif
    4238
     
    261257 * @todo
    262258 */
    263 PAM_EXTERN int pam_sm_authenticate(pam_handle_t *h, int flags,
    264                                    int argc, const char **argv)
     259DECLEXPORT(int) pam_sm_authenticate(pam_handle_t *h, int flags,
     260                                    int argc, const char **argv)
    265261{
    266262    /* Parse arguments. */
     
    285281 * @todo
    286282 */
    287 PAM_EXTERN int pam_sm_setcred(pam_handle_t *h, int flags, int argc, const char **argv)
     283DECLEXPORT(int) pam_sm_setcred(pam_handle_t *h, int flags, int argc, const char **argv)
    288284{
    289285    pam_vbox_log(h, "pam_vbox_setcred called.\n");
     
    292288
    293289
    294 PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *h, int flags, int argc, const char **argv)
     290DECLEXPORT(int) pam_sm_acct_mgmt(pam_handle_t *h, int flags, int argc, const char **argv)
    295291{
    296292    pam_vbox_log(h, "pam_vbox_acct_mgmt called.\n");
     
    299295
    300296
    301 PAM_EXTERN int pam_sm_open_session(pam_handle_t *h, int flags, int argc, const char **argv)
     297DECLEXPORT(int) pam_sm_open_session(pam_handle_t *h, int flags, int argc, const char **argv)
    302298{
    303299    pam_vbox_log(h, "pam_vbox_open_session called.\n");
     
    307303
    308304
    309 PAM_EXTERN int pam_sm_close_session(pam_handle_t *h, int flags, int argc, const char **argv)
     305DECLEXPORT(int) pam_sm_close_session(pam_handle_t *h, int flags, int argc, const char **argv)
    310306{
    311307    pam_vbox_log(h, "pam_vbox_close_session called.\n");
     
    313309}
    314310
    315 PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *h, int flags, int argc, const char **argv)
     311DECLEXPORT(int) pam_sm_chauthtok(pam_handle_t *h, int flags, int argc, const char **argv)
    316312{
    317313    pam_vbox_log(h, "pam_vbox_sm_chauthtok called.\n");
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette