VirtualBox

Ignore:
Timestamp:
Aug 21, 2008 5:16:02 PM (16 years ago)
Author:
vboxsync
Message:

API/xpcom: prefix any C symbols in VBoxXPCOM.so, to avoid namespace pollution. Enabled only on Linux at the moment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/pprio.h

    r1 r11551  
    4848#include "prio.h"
    4949
     50#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     51#define PR_GetFileMethods VBoxNsprPR_GetFileMethods
     52#define PR_GetTCPMethods VBoxNsprPR_GetTCPMethods
     53#define PR_GetUDPMethods VBoxNsprPR_GetUDPMethods
     54#define PR_GetPipeMethods VBoxNsprPR_GetPipeMethods
     55#define PR_FileDesc2NativeHandle VBoxNsprPR_FileDesc2NativeHandle
     56#define PR_ChangeFileDescNativeHandle VBoxNsprPR_ChangeFileDescNativeHandle
     57#define PR_AllocFileDesc VBoxNsprPR_AllocFileDesc
     58#define PR_FreeFileDesc VBoxNsprPR_FreeFileDesc
     59#define PR_ImportFile VBoxNsprPR_ImportFile
     60#define PR_ImportPipe VBoxNsprPR_ImportPipe
     61#define PR_ImportTCPSocket VBoxNsprPR_ImportTCPSocket
     62#define PR_ImportUDPSocket VBoxNsprPR_ImportUDPSocket
     63#define PR_CreateSocketPollFd VBoxNsprPR_CreateSocketPollFd
     64#define PR_DestroySocketPollFd VBoxNsprPR_DestroySocketPollFd
     65#define PR_Socket VBoxNsprPR_Socket
     66#define PR_LockFile VBoxNsprPR_LockFile
     67#define PR_TLockFile VBoxNsprPR_TLockFile
     68#define PR_UnlockFile VBoxNsprPR_UnlockFile
     69#define PR_EmulateAcceptRead VBoxNsprPR_EmulateAcceptRead
     70#define PR_EmulateSendFile VBoxNsprPR_EmulateSendFile
     71#define PR_NTFast_AcceptRead VBoxNsprPR_NTFast_AcceptRead
     72#define PR_NTFast_AcceptRead_WithTimeoutCallback VBoxNsprPR_NTFast_AcceptRead_WithTimeoutCallback
     73#define PR_NTFast_Accept VBoxNsprPR_NTFast_Accept
     74#define PR_NTFast_UpdateAcceptContext VBoxNsprPR_NTFast_UpdateAcceptContext
     75#define PR_NT_CancelIo VBoxNsprPR_NT_CancelIo
     76#define PR_Init_Log VBoxNsprPR_Init_Log
     77#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     78
    5079PR_BEGIN_EXTERN_C
    5180
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