Changeset 29057 in vbox for trunk/src/VBox/Additions/common/pam/pam_vbox.c
- Timestamp:
- May 5, 2010 8:48:31 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/pam/pam_vbox.c
r29055 r29057 35 35 #ifdef RT_OS_LINUX 36 36 #include <security/_pam_macros.h> 37 #endif38 39 #ifndef PAM_EXTERN40 # define PAM_EXTERN extern41 37 #endif 42 38 … … 261 257 * @todo 262 258 */ 263 PAM_EXTERN intpam_sm_authenticate(pam_handle_t *h, int flags,264 int argc, const char **argv)259 DECLEXPORT(int) pam_sm_authenticate(pam_handle_t *h, int flags, 260 int argc, const char **argv) 265 261 { 266 262 /* Parse arguments. */ … … 285 281 * @todo 286 282 */ 287 PAM_EXTERN intpam_sm_setcred(pam_handle_t *h, int flags, int argc, const char **argv)283 DECLEXPORT(int) pam_sm_setcred(pam_handle_t *h, int flags, int argc, const char **argv) 288 284 { 289 285 pam_vbox_log(h, "pam_vbox_setcred called.\n"); … … 292 288 293 289 294 PAM_EXTERN intpam_sm_acct_mgmt(pam_handle_t *h, int flags, int argc, const char **argv)290 DECLEXPORT(int) pam_sm_acct_mgmt(pam_handle_t *h, int flags, int argc, const char **argv) 295 291 { 296 292 pam_vbox_log(h, "pam_vbox_acct_mgmt called.\n"); … … 299 295 300 296 301 PAM_EXTERN intpam_sm_open_session(pam_handle_t *h, int flags, int argc, const char **argv)297 DECLEXPORT(int) pam_sm_open_session(pam_handle_t *h, int flags, int argc, const char **argv) 302 298 { 303 299 pam_vbox_log(h, "pam_vbox_open_session called.\n"); … … 307 303 308 304 309 PAM_EXTERN intpam_sm_close_session(pam_handle_t *h, int flags, int argc, const char **argv)305 DECLEXPORT(int) pam_sm_close_session(pam_handle_t *h, int flags, int argc, const char **argv) 310 306 { 311 307 pam_vbox_log(h, "pam_vbox_close_session called.\n"); … … 313 309 } 314 310 315 PAM_EXTERN intpam_sm_chauthtok(pam_handle_t *h, int flags, int argc, const char **argv)311 DECLEXPORT(int) pam_sm_chauthtok(pam_handle_t *h, int flags, int argc, const char **argv) 316 312 { 317 313 pam_vbox_log(h, "pam_vbox_sm_chauthtok called.\n");
Note:
See TracChangeset
for help on using the changeset viewer.