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.

Location:
trunk/src/libs/xpcom18a4/nsprpub/pr/include
Files:
39 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/obsolete/pralarm.h

    r1 r11551  
    6666#include "prinrval.h"
    6767
     68#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     69#define PR_CreateAlarm VBoxNsprPR_CreateAlarm
     70#define PR_DestroyAlarm VBoxNsprPR_DestroyAlarm
     71#define PR_SetAlarm VBoxNsprPR_SetAlarm
     72#define PR_ResetAlarm VBoxNsprPR_ResetAlarm
     73#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    6874
    6975PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/obsolete/probslet.h

    r1 r11551  
    4545
    4646#include "prio.h"
     47
     48#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     49#define PR_Yield VBoxNsprPR_Yield
     50#define PR_Select VBoxNsprPR_Select
     51#define PR_FD_ZERO VBoxNsprPR_FD_ZERO
     52#define PR_FD_SET VBoxNsprPR_FD_SET
     53#define PR_FD_CLR VBoxNsprPR_FD_CLR
     54#define PR_FD_ISSET VBoxNsprPR_FD_ISSET
     55#define PR_FD_NSET VBoxNsprPR_FD_NSET
     56#define PR_FD_NCLR VBoxNsprPR_FD_NCLR
     57#define PR_FD_NISSET VBoxNsprPR_FD_NISSET
     58#define PR_Stat VBoxNsprPR_Stat
     59#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4760
    4861PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/obsolete/prsem.h

    r1 r11551  
    4545*/
    4646#include "prtypes.h"
     47
     48#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     49#define PR_NewSem VBoxNsprPR_NewSem
     50#define PR_DestroySem VBoxNsprPR_DestroySem
     51#define PR_WaitSem VBoxNsprPR_WaitSem
     52#define PR_PostSem VBoxNsprPR_PostSem
     53#define PR_GetValueSem VBoxNsprPR_GetValueSem
     54#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4755
    4856PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/pratom.h

    r1 r11551  
    4646#include "prtypes.h"
    4747#include "prlock.h"
     48
     49#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     50#define PR_AtomicDecrement VBoxNsprPR_AtomicDecrement
     51#define PR_AtomicIncrement VBoxNsprPR_AtomicIncrement
     52#define PR_AtomicAdd VBoxNsprPR_AtomicAdd
     53#define PR_AtomicSet VBoxNsprPR_AtomicSet
     54#define PR_CreateStack VBoxNsprPR_CreateStack
     55#define PR_StackPush VBoxNsprPR_StackPush
     56#define PR_StackPop VBoxNsprPR_StackPop
     57#define PR_DestroyStack VBoxNsprPR_DestroyStack
     58#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4859
    4960PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prbit.h

    r1 r11551  
    4040
    4141#include "prtypes.h"
     42
     43#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     44#define PR_CeilingLog2 VBoxNsprPR_CeilingLog2
     45#define PR_FloorLog2 VBoxNsprPR_FloorLog2
     46#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     47
    4248PR_BEGIN_EXTERN_C
    4349
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prcmon.h

    r1 r11551  
    5252#include "prinrval.h"
    5353
     54#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     55#define PR_CEnterMonitor VBoxNsprPR_CEnterMonitor
     56#define PR_CExitMonitor VBoxNsprPR_CExitMonitor
     57#define PR_CNotify VBoxNsprPR_CNotify
     58#define PR_CWait VBoxNsprPR_CWait
     59#define PR_CNotifyAll VBoxNsprPR_CNotifyAll
     60#define PR_CSetOnMonitorRecycle VBoxNsprPR_CSetOnMonitorRecycle
     61#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     62
    5463PR_BEGIN_EXTERN_C
    5564
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prcountr.h

    r1 r11551  
    107107#include "prtypes.h"
    108108
     109#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     110#define PR_CreateCounter VBoxNsprPR_CreateCounter
     111#define PR_DestroyCounter VBoxNsprPR_DestroyCounter
     112#define PR_GetCounterHandleFromName VBoxNsprPR_GetCounterHandleFromName
     113#define PR_GetCounterNameFromHandle VBoxNsprPR_GetCounterNameFromHandle
     114#define PR_IncrementCounter VBoxNsprPR_IncrementCounter
     115#define PR_DecrementCounter VBoxNsprPR_DecrementCounter
     116#define PR_AddToCounter VBoxNsprPR_AddToCounter
     117#define PR_SubtractFromCounter VBoxNsprPR_SubtractFromCounter
     118#define PR_GetCounter VBoxNsprPR_GetCounter
     119#define PR_SetCounter VBoxNsprPR_SetCounter
     120#define PR_FindNextCounterQname VBoxNsprPR_FindNextCounterQname
     121#define PR_FindNextCounterRname VBoxNsprPR_FindNextCounterRname
     122#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     123
    109124PR_BEGIN_EXTERN_C
    110125
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prcvar.h

    r1 r11551  
    4141#include "prlock.h"
    4242#include "prinrval.h"
     43
     44#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     45#define PR_NewCondVar VBoxNsprPR_NewCondVar
     46#define PR_DestroyCondVar VBoxNsprPR_DestroyCondVar
     47#define PR_WaitCondVar VBoxNsprPR_WaitCondVar
     48#define PR_NotifyCondVar VBoxNsprPR_NotifyCondVar
     49#define PR_NotifyAllCondVar VBoxNsprPR_NotifyAllCondVar
     50#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4351
    4452PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prdtoa.h

    r1 r11551  
    4040
    4141#include "prtypes.h"
     42
     43#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     44#define PR_cnvtf VBoxNsprPR_cnvtf
     45#define PR_dtoa VBoxNsprPR_dtoa
     46#define PR_strtod VBoxNsprPR_strtod
     47#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4248
    4349PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prenv.h

    r1 r11551  
    4040
    4141#include "prtypes.h"
     42
     43#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     44#define PR_GetEnv VBoxNsprPR_GetEnv
     45#define PR_SetEnv VBoxNsprPR_SetEnv
     46#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4247
    4348/*******************************************************************************/
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prerror.h

    r1 r11551  
    4141#include "prtypes.h"
    4242
     43#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     44#define PR_SetError VBoxNsprPR_SetError
     45#define PR_SetErrorText VBoxNsprPR_SetErrorText
     46#define PR_GetError VBoxNsprPR_GetError
     47#define PR_GetOSError VBoxNsprPR_GetOSError
     48#define PR_GetErrorTextLength VBoxNsprPR_GetErrorTextLength
     49#define PR_GetErrorText VBoxNsprPR_GetErrorText
     50#define PR_ErrorToString VBoxNsprPR_ErrorToString
     51#define PR_ErrorToName VBoxNsprPR_ErrorToName
     52#define PR_ErrorLanguages VBoxNsprPR_ErrorLanguages
     53#define PR_ErrorInstallTable VBoxNsprPR_ErrorInstallTable
     54#define PR_ErrorInstallCallback VBoxNsprPR_ErrorInstallCallback
     55#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4356PR_BEGIN_EXTERN_C
    4457
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prinit.h

    r1 r11551  
    4444#include <stdio.h>
    4545
     46#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     47#define PR_Abort VBoxNsprPR_Abort
     48#define PR_Cleanup VBoxNsprPR_Cleanup
     49#define PR_DisableClockInterrupts VBoxNsprPR_DisableClockInterrupts
     50#define PR_EnableClockInterrupts VBoxNsprPR_EnableClockInterrupts
     51#define PR_BlockClockInterrupts VBoxNsprPR_BlockClockInterrupts
     52#define PR_UnblockClockInterrupts VBoxNsprPR_UnblockClockInterrupts
     53#define PR_Init VBoxNsprPR_Init
     54#define PR_Initialize VBoxNsprPR_Initialize
     55#define PR_Initialized VBoxNsprPR_Initialized
     56#define PR_VersionCheck VBoxNsprPR_VersionCheck
     57#define PR_SetConcurrency VBoxNsprPR_SetConcurrency
     58#define PR_SetFDCacheSize VBoxNsprPR_SetFDCacheSize
     59#define PR_ProcessExit VBoxNsprPR_ProcessExit
     60#define PR_CallOnce VBoxNsprPR_CallOnce
     61#define PR_CallOnceWithArg VBoxNsprPR_CallOnceWithArg
     62#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     63
    4664PR_BEGIN_EXTERN_C
    4765
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prinrval.h

    r1 r11551  
    5252
    5353#include "prtypes.h"
     54
     55#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     56#define PR_IntervalNow VBoxNsprPR_IntervalNow
     57#define PR_TicksPerSecond VBoxNsprPR_TicksPerSecond
     58#define PR_SecondsToInterval VBoxNsprPR_SecondsToInterval
     59#define PR_MillisecondsToInterval VBoxNsprPR_MillisecondsToInterval
     60#define PR_MicrosecondsToInterval VBoxNsprPR_MicrosecondsToInterval
     61#define PR_IntervalToSeconds VBoxNsprPR_IntervalToSeconds
     62#define PR_IntervalToMilliseconds VBoxNsprPR_IntervalToMilliseconds
     63#define PR_IntervalToMicroseconds VBoxNsprPR_IntervalToMicroseconds
     64#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5465
    5566PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prio.h

    r1 r11551  
    5050#include "prinrval.h"
    5151#include "prinet.h"
     52
     53#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     54#define PR_GetInheritedFD VBoxNsprPR_GetInheritedFD
     55#define PR_SetFDInheritable VBoxNsprPR_SetFDInheritable
     56#define PR_Access VBoxNsprPR_Access
     57#define PR_Open VBoxNsprPR_Open
     58#define PR_Read VBoxNsprPR_Read
     59#define PR_Write VBoxNsprPR_Write
     60#define PR_Seek VBoxNsprPR_Seek
     61#define PR_Seek64 VBoxNsprPR_Seek64
     62#define PR_Poll VBoxNsprPR_Poll
     63#define PR_NewPollableEvent VBoxNsprPR_NewPollableEvent
     64#define PR_SetPollableEvent VBoxNsprPR_SetPollableEvent
     65#define PR_WaitForPollableEvent VBoxNsprPR_WaitForPollableEvent
     66#define PR_DestroyPollableEvent VBoxNsprPR_DestroyPollableEvent
     67#define PR_Close VBoxNsprPR_Close
     68#define PR_GetSpecialFD VBoxNsprPR_GetSpecialFD
     69#define PR_Connect VBoxNsprPR_Connect
     70#define PR_OpenTCPSocket VBoxNsprPR_OpenTCPSocket
     71#define PR_SetSocketOption VBoxNsprPR_SetSocketOption
     72#define PR_Bind VBoxNsprPR_Bind
     73#define PR_Listen VBoxNsprPR_Listen
     74#define PR_Accept VBoxNsprPR_Accept
     75#define PR_AcceptRead VBoxNsprPR_AcceptRead
     76#define PR_OpenDir VBoxNsprPR_OpenDir
     77#define PR_ReadDir VBoxNsprPR_ReadDir
     78#define PR_CloseDir VBoxNsprPR_CloseDir
     79#define PR_CreatePipe VBoxNsprPR_CreatePipe
     80#define PR_GetDescType VBoxNsprPR_GetDescType
     81#define PR_GetSpecialFD VBoxNsprPR_GetSpecialFD
     82#define PR_GetUniqueIdentity VBoxNsprPR_GetUniqueIdentity
     83#define PR_GetNameForIdentity VBoxNsprPR_GetNameForIdentity
     84#define PR_GetLayersIdentity VBoxNsprPR_GetLayersIdentity
     85#define PR_GetIdentitiesLayer VBoxNsprPR_GetIdentitiesLayer
     86#define PR_GetDefaultIOMethods VBoxNsprPR_GetDefaultIOMethods
     87#define PR_CreateIOLayerStub VBoxNsprPR_CreateIOLayerStub
     88#define PR_CreateIOLayer VBoxNsprPR_CreateIOLayer
     89#define PR_PushIOLayer VBoxNsprPR_PushIOLayer
     90#define PR_PopIOLayer VBoxNsprPR_PopIOLayer
     91#define PR_OpenFile VBoxNsprPR_OpenFile
     92#define PR_Writev VBoxNsprPR_Writev
     93#define PR_Delete VBoxNsprPR_Delete
     94#define PR_Rename VBoxNsprPR_Rename
     95#define PR_GetFileInfo VBoxNsprPR_GetFileInfo
     96#define PR_GetFileInfo64 VBoxNsprPR_GetFileInfo64
     97#define PR_GetOpenFileInfo VBoxNsprPR_GetOpenFileInfo
     98#define PR_GetOpenFileInfo64 VBoxNsprPR_GetOpenFileInfo64
     99#define PR_Available VBoxNsprPR_Available
     100#define PR_Available64 VBoxNsprPR_Available64
     101#define PR_Sync VBoxNsprPR_Sync
     102#define PR_MkDir VBoxNsprPR_MkDir
     103#define PR_MakeDir VBoxNsprPR_MakeDir
     104#define PR_RmDir VBoxNsprPR_RmDir
     105#define PR_NewUDPSocket VBoxNsprPR_NewUDPSocket
     106#define PR_NewTCPSocket VBoxNsprPR_NewTCPSocket
     107#define PR_OpenUDPSocket VBoxNsprPR_OpenUDPSocket
     108#define PR_OpenTCPSocket VBoxNsprPR_OpenTCPSocket
     109#define PR_ConnectContinue VBoxNsprPR_ConnectContinue
     110#define PR_GetConnectStatus VBoxNsprPR_GetConnectStatus
     111#define PR_Shutdown VBoxNsprPR_Shutdown
     112#define PR_Recv VBoxNsprPR_Recv
     113#define PR_Send VBoxNsprPR_Send
     114#define PR_RecvFrom VBoxNsprPR_RecvFrom
     115#define PR_SendTo VBoxNsprPR_SendTo
     116#define PR_TransmitFile VBoxNsprPR_TransmitFile
     117#define PR_SendFile VBoxNsprPR_SendFile
     118#define PR_NewTCPSocketPair VBoxNsprPR_NewTCPSocketPair
     119#define PR_GetSockName VBoxNsprPR_GetSockName
     120#define PR_GetPeerName VBoxNsprPR_GetPeerName
     121#define PR_GetSocketOption VBoxNsprPR_GetSocketOption
     122#define PR_CreateFileMap VBoxNsprPR_CreateFileMap
     123#define PR_GetMemMapAlignment VBoxNsprPR_GetMemMapAlignment
     124#define PR_MemMap VBoxNsprPR_MemMap
     125#define PR_MemUnmap VBoxNsprPR_MemUnmap
     126#define PR_CloseFileMap VBoxNsprPR_CloseFileMap
     127#define PR_CreatePipe VBoxNsprPR_CreatePipe
     128#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    52129
    53130PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/pripcsem.h

    r1 r11551  
    5959#include "prtypes.h"
    6060#include "prio.h"
     61
     62#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     63#define PR_OpenSemaphore VBoxNsprPR_OpenSemaphore
     64#define PR_WaitSemaphore VBoxNsprPR_WaitSemaphore
     65#define PR_PostSemaphore VBoxNsprPR_PostSemaphore
     66#define PR_CloseSemaphore VBoxNsprPR_CloseSemaphore
     67#define PR_DeleteSemaphore VBoxNsprPR_DeleteSemaphore
     68#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    6169
    6270PR_BEGIN_EXTERN_C
  • 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
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/pprthred.h

    r1 r11551  
    5252#endif
    5353
     54#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     55#define PR_AttachThread VBoxNsprPR_AttachThread
     56#define PR_DetachThread VBoxNsprPR_DetachThread
     57#define PR_GetThreadID VBoxNsprPR_GetThreadID
     58#define PR_SetThreadDumpProc VBoxNsprPR_SetThreadDumpProc
     59#define PR_GetThreadAffinityMask VBoxNsprPR_GetThreadAffinityMask
     60#define PR_SetThreadAffinityMask VBoxNsprPR_SetThreadAffinityMask
     61#define PR_SetCPUAffinityMask VBoxNsprPR_SetCPUAffinityMask
     62#define PR_ShowStatus VBoxNsprPR_ShowStatus
     63#define PR_SetThreadRecycleMode VBoxNsprPR_SetThreadRecycleMode
     64#define PR_CreateThreadGCAble VBoxNsprPR_CreateThreadGCAble
     65#define PR_AttachThreadGCAble VBoxNsprPR_AttachThreadGCAble
     66#define PR_SetThreadGCAble VBoxNsprPR_SetThreadGCAble
     67#define PR_ClearThreadGCAble VBoxNsprPR_ClearThreadGCAble
     68#define PR_SuspendAll VBoxNsprPR_SuspendAll
     69#define PR_ResumeAll VBoxNsprPR_ResumeAll
     70#define PR_GetSP VBoxNsprPR_GetSP
     71#define PR_GetGCRegisters VBoxNsprPR_GetGCRegisters
     72#define GetExecutionEnvironment VBoxNsprGetExecutionEnvironment
     73#define SetExecutionEnvironment VBoxNsprSetExecutionEnvironment
     74#define PR_EnumerateThreads VBoxNsprPR_EnumerateThreads
     75#define PR_ThreadScanStackPointers VBoxNsprPR_ThreadScanStackPointers
     76#define PR_ScanStackPointers VBoxNsprPR_ScanStackPointers
     77#define PR_GetStackSpaceLeft VBoxNsprPR_GetStackSpaceLeft
     78#define PR_NewNamedMonitor VBoxNsprPR_NewNamedMonitor
     79#define PR_TestAndLock VBoxNsprPR_TestAndLock
     80#define PR_TestAndEnterMonitor VBoxNsprPR_TestAndEnterMonitor
     81#define PR_GetMonitorEntryCount VBoxNsprPR_GetMonitorEntryCount
     82#define PR_CTestAndEnterMonitor VBoxNsprPR_CTestAndEnterMonitor
     83#define PR_Mac_WaitForAsyncNotify VBoxNsprPR_Mac_WaitForAsyncNotify
     84#define PR_Mac_PostAsyncNotify VBoxNsprPR_Mac_PostAsyncNotify
     85#define PR_OS2_SetFloatExcpHandler VBoxNsprPR_OS2_SetFloatExcpHandler
     86#define PR_OS2_UnsetFloatExcpHandler VBoxNsprPR_OS2_UnsetFloatExcpHandler
     87#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     88
    5489PR_BEGIN_EXTERN_C
    5590
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/private/primpl.h

    r1 r11551  
    139139*/
    140140
     141#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     142#define PT_FPrintStats VBoxNsprPT_FPrintStats
     143#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     144
    141145PR_BEGIN_EXTERN_C
    142146
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prlink.h

    r1 r11551  
    4444#include "prtypes.h"
    4545
     46#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     47#define PR_SetLibraryPath VBoxNsprPR_SetLibraryPath
     48#define PR_GetLibraryPath VBoxNsprPR_GetLibraryPath
     49#define PR_GetLibraryName VBoxNsprPR_GetLibraryName
     50#define PR_FreeLibraryName VBoxNsprPR_FreeLibraryName
     51#define PR_LoadLibrary VBoxNsprPR_LoadLibrary
     52#define PR_LoadLibraryWithFlags VBoxNsprPR_LoadLibraryWithFlags
     53#define PR_UnloadLibrary VBoxNsprPR_UnloadLibrary
     54#define PR_FindSymbol VBoxNsprPR_FindSymbol
     55#define PR_FindFunctionSymbol VBoxNsprPR_FindFunctionSymbol
     56#define PR_FindSymbolAndLibrary VBoxNsprPR_FindSymbolAndLibrary
     57#define PR_FindFunctionSymbolAndLibrary VBoxNsprPR_FindFunctionSymbolAndLibrary
     58#define PR_LoadStaticLibrary VBoxNsprPR_LoadStaticLibrary
     59#define PR_GetLibraryFilePathname VBoxNsprPR_GetLibraryFilePathname
     60#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     61
    4662PR_BEGIN_EXTERN_C
    4763
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prlock.h

    r1 r11551  
    5050
    5151#include "prtypes.h"
     52
     53#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     54#define PR_DestroyLock VBoxNsprPR_DestroyLock
     55#define PR_Lock VBoxNsprPR_Lock
     56#define PR_NewLock VBoxNsprPR_NewLock
     57#define PR_Unlock VBoxNsprPR_Unlock
     58#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5259
    5360PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prlog.h

    r1 r11551  
    4141#include "prtypes.h"
    4242
     43#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     44#define PR_NewLogModule VBoxNsprPR_NewLogModule
     45#define PR_SetLogFile VBoxNsprPR_SetLogFile
     46#define PR_SetLogBuffering VBoxNsprPR_SetLogBuffering
     47#define PR_LogPrint VBoxNsprPR_LogPrint
     48#define PR_LogFlush VBoxNsprPR_LogFlush
     49#define PR_Assert VBoxNsprPR_Assert
     50#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     51
    4352PR_BEGIN_EXTERN_C
    4453
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prlong.h

    r1 r11551  
    4848
    4949#include "prtypes.h"
     50
     51#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     52#define LL_MaxInt VBoxNsllLL_MaxInt
     53#define LL_MaxUint VBoxNsllLL_MaxUint
     54#define LL_MinInt VBoxNsllLL_MinInt
     55#define LL_Zero VBoxNsllLL_Zero
     56#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5057
    5158PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prmem.h

    r1 r11551  
    4747#include <stddef.h>
    4848#include <stdlib.h>
     49
     50#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     51#define PR_Malloc VBoxNsprPR_Malloc
     52#define PR_Calloc VBoxNsprPR_Calloc
     53#define PR_Realloc VBoxNsprPR_Realloc
     54#define PR_Free VBoxNsprPR_Free
     55#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4956
    5057PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prmon.h

    r1 r11551  
    4141#include "prtypes.h"
    4242#include "prinrval.h"
     43
     44#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     45#define PR_EnterMonitor VBoxNsprPR_EnterMonitor
     46#define PR_ExitMonitor VBoxNsprPR_ExitMonitor
     47#define PR_Notify VBoxNsprPR_Notify
     48#define PR_NotifyAll VBoxNsprPR_NotifyAll
     49#define PR_Wait VBoxNsprPR_Wait
     50#define PR_NewMonitor VBoxNsprPR_NewMonitor
     51#define PR_DestroyMonitor VBoxNsprPR_DestroyMonitor
     52#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4353
    4454PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prmwait.h

    r1 r11551  
    4444#include "prclist.h"
    4545
     46#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     47#define PR_AddWaitFileDesc VBoxNsprPR_AddWaitFileDesc
     48#define PR_CancelWaitFileDesc VBoxNsprPR_CancelWaitFileDesc
     49#define PR_CancelWaitGroup VBoxNsprPR_CancelWaitGroup
     50#define PR_CreateWaitGroup VBoxNsprPR_CreateWaitGroup
     51#define PR_CreateMWaitEnumerator VBoxNsprPR_CreateMWaitEnumerator
     52#define PR_DestroyWaitGroup VBoxNsprPR_DestroyWaitGroup
     53#define PR_DestroyMWaitEnumerator VBoxNsprPR_DestroyMWaitEnumerator
     54#define PR_EnumerateWaitGroup VBoxNsprPR_EnumerateWaitGroup
     55#define PR_WaitRecvReady VBoxNsprPR_WaitRecvReady
     56#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     57
    4658PR_BEGIN_EXTERN_C
    4759
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prnetdb.h

    r1 r11551  
    4141#include "prtypes.h"
    4242#include "prio.h"
     43
     44#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     45#define PR_StringToNetAddr VBoxNsprPR_StringToNetAddr
     46#define PR_NetAddrToString VBoxNsprPR_NetAddrToString
     47#define PR_GetHostByName VBoxNsprPR_GetHostByName
     48#define PR_GetIPNodeByName VBoxNsprPR_GetIPNodeByName
     49#define PR_GetHostByAddr VBoxNsprPR_GetHostByAddr
     50#define PR_EnumerateHostEnt VBoxNsprPR_EnumerateHostEnt
     51#define PR_InitializeNetAddr VBoxNsprPR_InitializeNetAddr
     52#define PR_SetNetAddr VBoxNsprPR_SetNetAddr
     53#define PR_IsNetAddrType VBoxNsprPR_IsNetAddrType
     54#define PR_ConvertIPv4AddrToIPv6 VBoxNsprPR_ConvertIPv4AddrToIPv6
     55#define PR_GetProtoByName VBoxNsprPR_GetProtoByName
     56#define PR_GetProtoByNumber VBoxNsprPR_GetProtoByNumber
     57#define PR_GetAddrInfoByName VBoxNsprPR_GetAddrInfoByName
     58#define PR_FreeAddrInfo VBoxNsprPR_FreeAddrInfo
     59#define PR_EnumerateAddrInfo VBoxNsprPR_EnumerateAddrInfo
     60#define PR_GetCanonNameFromAddrInfo VBoxNsprPR_GetCanonNameFromAddrInfo
     61#define PR_htonl VBoxNsprPR_htonl
     62#define PR_htonll VBoxNsprPR_htonll
     63#define PR_htons VBoxNsprPR_htons
     64#define PR_ntohl VBoxNsprPR_ntohl
     65#define PR_ntohll VBoxNsprPR_ntohll
     66#define PR_ntohs VBoxNsprPR_ntohs
     67#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4368
    4469PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prolock.h

    r1 r11551  
    4141#include "prtypes.h"
    4242
     43#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     44#define PR_CreateOrderedLock VBoxNsprPR_CreateOrderedLock
     45#define PR_DestroyOrderedLock VBoxNsprPR_DestroyOrderedLock
     46#define PR_LockOrderedLock VBoxNsprPR_LockOrderedLock
     47#define PR_UnlockOrderedLock VBoxNsprPR_UnlockOrderedLock
     48#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     49
    4350PR_BEGIN_EXTERN_C
    4451
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prpdce.h

    r1 r11551  
    5050#include "prtypes.h"
    5151#include "prinrval.h"
     52
     53#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     54#define PRP_DestroyNakedCondVar VBoxNsprPRP_DestroyNakedCondVar
     55#define PRP_NakedBroadcast VBoxNsprPRP_NakedBroadcast
     56#define PRP_NakedNotify VBoxNsprPRP_NakedNotify
     57#define PRP_NakedWait VBoxNsprPRP_NakedWait
     58#define PRP_NewNakedCondVar VBoxNsprPRP_NewNakedCondVar
     59#define PRP_TryLock VBoxNsprPRP_TryLock
     60#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5261
    5362PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prprf.h

    r1 r11551  
    5959#include <stdio.h>
    6060#include <stdarg.h>
     61
     62#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     63#define PR_snprintf VBoxNsprPR_snprintf
     64#define PR_vsnprintf VBoxNsprPR_vsnprintf
     65#define PR_smprintf VBoxNsprPR_smprintf
     66#define PR_smprintf_free VBoxNsprPR_smprintf_free
     67#define PR_sprintf_append VBoxNsprPR_sprintf_append
     68#define PR_sxprintf VBoxNsprPR_sxprintf
     69#define PR_fprintf VBoxNsprPR_fprintf
     70#define PR_vsmprintf VBoxNsprPR_vsmprintf
     71#define PR_vsprintf_append VBoxNsprPR_vsprintf_append
     72#define PR_vsxprintf VBoxNsprPR_vsxprintf
     73#define PR_vfprintf VBoxNsprPR_vfprintf
     74#define PR_sscanf VBoxNsprPR_sscanf
     75#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    6176
    6277PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prproces.h

    r1 r11551  
    4141#include "prtypes.h"
    4242#include "prio.h"
     43
     44#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     45#define PR_CreateProcessDetached VBoxNsprPR_CreateProcessDetached
     46#define PR_ProcessAttrSetInheritableFD VBoxNsprPR_ProcessAttrSetInheritableFD
     47#define PR_DestroyProcessAttr VBoxNsprPR_DestroyProcessAttr
     48#define PR_NewProcessAttr VBoxNsprPR_NewProcessAttr
     49#define PR_ResetProcessAttr VBoxNsprPR_ResetProcessAttr
     50#define PR_ProcessAttrSetStdioRedirect VBoxNsprPR_ProcessAttrSetStdioRedirect
     51#define PR_SetStdioRedirect VBoxNsprPR_SetStdioRedirect
     52#define PR_ProcessAttrSetCurrentDirectory VBoxNsprPR_ProcessAttrSetCurrentDirectory
     53#define PR_CreateProcess VBoxNsprPR_CreateProcess
     54#define PR_DetachProcess VBoxNsprPR_DetachProcess
     55#define PR_WaitProcess VBoxNsprPR_WaitProcess
     56#define PR_KillProcess VBoxNsprPR_KillProcess
     57#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4358
    4459PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prrng.h

    r1 r11551  
    4848
    4949#include "prtypes.h"
     50
     51#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     52#define PR_GetRandomNoise VBoxNsprPR_GetRandomNoise
     53#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5054
    5155PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prrwlock.h

    r1 r11551  
    4646
    4747#include "prtypes.h"
     48
     49#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     50#define PR_NewRWLock VBoxNsprPR_NewRWLock
     51#define PR_DestroyRWLock VBoxNsprPR_DestroyRWLock
     52#define PR_RWLock_Rlock VBoxNsprPR_RWLock_Rlock
     53#define PR_RWLock_Wlock VBoxNsprPR_RWLock_Wlock
     54#define PR_RWLock_Unlock VBoxNsprPR_RWLock_Unlock
     55#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4856
    4957PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prshm.h

    r1 r11551  
    135135#include "prio.h"
    136136
     137#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     138#define PR_OpenSharedMemory VBoxNsprPR_OpenSharedMemory
     139#define PR_AttachSharedMemory VBoxNsprPR_AttachSharedMemory
     140#define PR_DetachSharedMemory VBoxNsprPR_DetachSharedMemory
     141#define PR_CloseSharedMemory VBoxNsprPR_CloseSharedMemory
     142#define PR_DeleteSharedMemory VBoxNsprPR_DeleteSharedMemory
     143#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     144
    137145PR_BEGIN_EXTERN_C
    138146
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prshma.h

    r1 r11551  
    136136#include "prproces.h"
    137137
     138#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     139#define PR_OpenAnonFileMap VBoxNsprPR_OpenAnonFileMap
     140#define PR_ProcessAttrSetInheritableFileMap VBoxNsprPR_ProcessAttrSetInheritableFileMap
     141#define PR_GetInheritedFileMap VBoxNsprPR_GetInheritedFileMap
     142#define PR_ExportFileMapAsString VBoxNsprPR_ExportFileMapAsString
     143#define PR_ImportFileMapFromString VBoxNsprPR_ImportFileMapFromString
     144#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     145
    138146PR_BEGIN_EXTERN_C
    139147
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prsystem.h

    r1 r11551  
    4343*/
    4444#include "prtypes.h"
     45
     46#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     47#define PR_GetDirectorySeparator VBoxNsprPR_GetDirectorySeparator
     48#define PR_GetDirectorySepartor VBoxNsprPR_GetDirectorySepartor
     49#define PR_GetPathSeparator VBoxNsprPR_GetPathSeparator
     50#define PR_GetSystemInfo VBoxNsprPR_GetSystemInfo
     51#define PR_GetPageSize VBoxNsprPR_GetPageSize
     52#define PR_GetPageShift VBoxNsprPR_GetPageShift
     53#define PR_GetNumberOfProcessors VBoxNsprPR_GetNumberOfProcessors
     54#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    4555
    4656PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prthread.h

    r1 r11551  
    7979#include "prinrval.h"
    8080
     81#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     82#define PR_CreateThread VBoxNsprPR_CreateThread
     83#define PR_JoinThread VBoxNsprPR_JoinThread
     84#define PR_Sleep VBoxNsprPR_Sleep
     85#define PR_GetCurrentThread VBoxNsprPR_GetCurrentThread
     86#define PR_GetThreadState VBoxNsprPR_GetThreadState
     87#define PR_SetThreadPrivate VBoxNsprPR_SetThreadPrivate
     88#define PR_GetThreadPrivate VBoxNsprPR_GetThreadPrivate
     89#define PR_NewThreadPrivateIndex VBoxNsprPR_NewThreadPrivateIndex
     90#define PR_GetThreadPriority VBoxNsprPR_GetThreadPriority
     91#define PR_SetThreadPriority VBoxNsprPR_SetThreadPriority
     92#define PR_Interrupt VBoxNsprPR_Interrupt
     93#define PR_ClearInterrupt VBoxNsprPR_ClearInterrupt
     94#define PR_BlockInterrupt VBoxNsprPR_BlockInterrupt
     95#define PR_UnblockInterrupt VBoxNsprPR_UnblockInterrupt
     96#define PR_GetThreadScope VBoxNsprPR_GetThreadScope
     97#define PR_GetThreadType VBoxNsprPR_GetThreadType
     98#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     99
    81100PR_BEGIN_EXTERN_C
    82101
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prtime.h

    r1 r11551  
    5050
    5151#include "prlong.h"
     52
     53#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     54#define PR_Now VBoxNsprPR_Now
     55#define PR_ExplodeTime VBoxNsprPR_ExplodeTime
     56#define PR_ImplodeTime VBoxNsprPR_ImplodeTime
     57#define PR_NormalizeTime VBoxNsprPR_NormalizeTime
     58#define PR_LocalTimeParameters VBoxNsprPR_LocalTimeParameters
     59#define PR_GMTParameters VBoxNsprPR_GMTParameters
     60#define PR_USPacificTimeParameters VBoxNsprPR_USPacificTimeParameters
     61#define PR_ParseTimeString VBoxNsprPR_ParseTimeString
     62#define PR_FormatTime VBoxNsprPR_FormatTime
     63#define PR_FormatTimeUSEnglish VBoxNsprPR_FormatTimeUSEnglish
     64#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5265
    5366PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prtpool.h

    r1 r11551  
    4949 *              CHANGE
    5050 */
     51
     52#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     53#define PR_CreateThreadPool VBoxNsprPR_CreateThreadPool
     54#define PR_QueueJobPR_QueueJob_Read VBoxNsprPR_QueueJobPR_QueueJob_Read
     55#define PR_QueueJob VBoxNsprPR_QueueJob
     56#define PR_QueueJob_Read VBoxNsprPR_QueueJob_Read
     57#define PR_QueueJob_Write VBoxNsprPR_QueueJob_Write
     58#define PR_QueueJob_Accept VBoxNsprPR_QueueJob_Accept
     59#define PR_QueueJob_Connect VBoxNsprPR_QueueJob_Connect
     60#define PR_QueueJob_Timer VBoxNsprPR_QueueJob_Timer
     61#define PR_CancelJob VBoxNsprPR_CancelJob
     62#define PR_JoinJob VBoxNsprPR_JoinJob
     63#define PR_ShutdownThreadPool VBoxNsprPR_ShutdownThreadPool
     64#define PR_JoinThreadPool VBoxNsprPR_JoinThreadPool
     65#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
    5166
    5267PR_BEGIN_EXTERN_C
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prtrace.h

    r1 r11551  
    9898#include "prtime.h"
    9999
     100#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
     101#define PR_CreateTrace VBoxNsprPR_CreateTrace
     102#define PR_DestroyTrace VBoxNsprPR_DestroyTrace
     103#define PR_Trace VBoxNsprPR_Trace
     104#define PR_SetTraceOption VBoxNsprPR_SetTraceOption
     105#define PR_GetTraceOption VBoxNsprPR_GetTraceOption
     106#define PR_GetTraceHandleFromName VBoxNsprPR_GetTraceHandleFromName
     107#define PR_GetTraceNameFromHandle VBoxNsprPR_GetTraceNameFromHandle
     108#define PR_FindNextTraceQname VBoxNsprPR_FindNextTraceQname
     109#define PR_FindNextTraceRname VBoxNsprPR_FindNextTraceRname
     110#define PR_RecordTraceEntries VBoxNsprPR_RecordTraceEntries
     111#define PR_GetTraceEntries VBoxNsprPR_GetTraceEntries
     112#endif /* VBOX_WITH_XPCOM_NAMESPACE_CLEANUP */
     113
    100114PR_BEGIN_EXTERN_C
    101115
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