Changeset 39740 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Jan 10, 2012 3:46:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/pam/pam_vbox.cpp
r39734 r39740 689 689 { 690 690 /* Parse arguments. */ 691 int i; 692 for (i = 0; i < argc; i++) 691 for (int i = 0; i < argc; i++) 693 692 { 694 693 if (!RTStrICmp(argv[i], "debug")) … … 827 826 } 828 827 829 830 DECLEXPORT(int) pam_sm_setcred(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 831 { 832 pam_vbox_log(hPAM, "pam_vbox_setcred called\n"); 828 RTDECL(int) pam_sm_setcred(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 829 { 830 pam_vbox_log(hPAM, "pam_vbox_setcred called, iFlags=0x%x\n", iFlags); 831 for (int i = 0; i < argc; i++) 832 pam_vbox_log(hPAM, "pam_vbox_setcred: argv[0] = %s\n", argv[i]); 833 833 return PAM_SUCCESS; 834 834 } 835 835 836 837 DECLEXPORT(int) pam_sm_acct_mgmt(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 836 RTDECL(int) pam_sm_acct_mgmt(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 838 837 { 839 838 pam_vbox_log(hPAM, "pam_vbox_acct_mgmt called\n"); … … 842 841 843 842 844 DECLEXPORT(int) pam_sm_open_session(pam_handle_t *hPAM, int iFlags, int argc, const char **argv)843 RTDECL(int) pam_sm_open_session(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 845 844 { 846 845 pam_vbox_log(hPAM, "pam_vbox_open_session called\n"); … … 850 849 851 850 852 DECLEXPORT(int) pam_sm_close_session(pam_handle_t *hPAM, int iFlags, int argc, const char **argv)851 RTDECL(int) pam_sm_close_session(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 853 852 { 854 853 pam_vbox_log(hPAM, "pam_vbox_close_session called\n"); … … 856 855 } 857 856 858 DECLEXPORT(int) pam_sm_chauthtok(pam_handle_t *hPAM, int iFlags, int argc, const char **argv)857 RTDECL(int) pam_sm_chauthtok(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 859 858 { 860 859 pam_vbox_log(hPAM, "pam_vbox_sm_chauthtok called\n"); … … 863 862 864 863 #ifdef DEBUG 865 DECLEXPORT(void) RTAssertMsg1Weak(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)864 RTDECL(void) RTAssertMsg1Weak(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction) 866 865 { 867 866 pam_vbox_log(g_pam_handle,
Note:
See TracChangeset
for help on using the changeset viewer.