1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nsprpub/pr/src/nspr.def Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,457 @@ 1.4 +;+# 1.5 +;+# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +;+# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +;+# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 +;+# 1.9 +;+# OK, this file is meant to support SUN, LINUX, AIX, OS/2 and WINDOWS 1.10 +;+# 1. For all unix platforms, the string ";-" means "remove this line" 1.11 +;+# 2. For all unix platforms, the string " DATA " will be removed from any 1.12 +;+# line on which it occurs. 1.13 +;+# 3. Lines containing ";+" will have ";+" removed on SUN and LINUX. 1.14 +;+# On AIX, lines containing ";+" will be removed. 1.15 +;+# 4. For all unix platforms, the string ";;" will thave the ";;" removed. 1.16 +;+# 5. For all unix platforms, after the above processing has taken place, 1.17 +;+# all characters after the first ";" on the line will be removed. 1.18 +;+# And for AIX, the first ";" will also be removed. 1.19 +;+# This file is passed directly to windows. Since ';' is a comment, all UNIX 1.20 +;+# directives are hidden behind ";", ";+", and ";-" 1.21 +;+# 1.22 +;+NSPR_4.0 { 1.23 +;+ global: 1.24 +LIBRARY nspr4 ;- 1.25 +EXPORTS ;- 1.26 + LL_MaxInt; 1.27 + LL_MinInt; 1.28 + LL_Zero; 1.29 + PR_Abort; 1.30 + PR_AddToCounter; 1.31 + PR_Accept; 1.32 + PR_AcceptRead; 1.33 + PR_Access; 1.34 + PR_AddWaitFileDesc; 1.35 + PR_AllocFileDesc; 1.36 + PR_Assert; 1.37 + PR_AtomicAdd; 1.38 + PR_AtomicDecrement; 1.39 + PR_AtomicIncrement; 1.40 + PR_AtomicSet; 1.41 + PR_AttachSharedMemory; 1.42 + PR_AttachThread; 1.43 + PR_Available; 1.44 + PR_Available64; 1.45 + PR_Bind; 1.46 + PR_BlockClockInterrupts; 1.47 + PR_BlockInterrupt; 1.48 + PR_CEnterMonitor; 1.49 + PR_CExitMonitor; 1.50 + PR_CNotify; 1.51 + PR_CNotifyAll; 1.52 + PR_CSetOnMonitorRecycle; 1.53 + PR_CWait; 1.54 + PR_CallOnce; 1.55 + PR_Calloc; 1.56 + PR_CancelJob; 1.57 + PR_CancelWaitFileDesc; 1.58 + PR_CancelWaitGroup; 1.59 + PR_CeilingLog2; 1.60 + PR_ChangeFileDescNativeHandle; 1.61 + PR_Cleanup; 1.62 + PR_ClearInterrupt; 1.63 + PR_ClearThreadGCAble; 1.64 + PR_Close; 1.65 + PR_CloseDir; 1.66 + PR_CloseFileMap; 1.67 + PR_CloseSemaphore; 1.68 + PR_CloseSharedMemory; 1.69 + PR_Connect; 1.70 + PR_CreateCounter; 1.71 + PR_ConvertIPv4AddrToIPv6; 1.72 + PR_CreateAlarm; 1.73 + PR_CreateFileMap; 1.74 + PR_CreateIOLayerStub; 1.75 + PR_CreateOrderedLock; 1.76 + PR_CreateMWaitEnumerator; 1.77 + PR_CreatePipe; 1.78 + PR_CreateProcess; 1.79 + PR_CreateProcessDetached; 1.80 + PR_CreateSocketPollFd; 1.81 + PR_CreateStack; 1.82 + PR_CreateThread; 1.83 + PR_CreateThreadGCAble; 1.84 + PR_CreateTrace; 1.85 + PR_CreateThreadPool; 1.86 + PR_DecrementCounter; 1.87 + PR_CreateWaitGroup; 1.88 + PR_Delete; 1.89 + PR_DeleteSemaphore; 1.90 + PR_DeleteSharedMemory; 1.91 + PR_DestroyAlarm; 1.92 + PR_DestroyCounter; 1.93 + PR_DestroyCondVar; 1.94 + PR_DestroyLock; 1.95 + PR_DestroyMWaitEnumerator; 1.96 + PR_DestroyOrderedLock; 1.97 + PR_DestroyMonitor; 1.98 + PR_DestroyPollableEvent; 1.99 + PR_DestroyProcessAttr; 1.100 + PR_DestroyRWLock; 1.101 + PR_DestroySem; 1.102 + PR_DestroySocketPollFd; 1.103 + PR_DestroyTrace; 1.104 + PR_DestroyStack; 1.105 + PR_DestroyWaitGroup; 1.106 + PR_DetachProcess; 1.107 + PR_DetachSharedMemory; 1.108 + PR_DetachThread; 1.109 + PR_DisableClockInterrupts; 1.110 + PR_EnableClockInterrupts; 1.111 + PR_EnterMonitor; 1.112 + PR_EnumerateHostEnt; 1.113 + PR_EnumerateThreads; 1.114 + PR_EnumerateWaitGroup; 1.115 + PR_ErrorInstallCallback; 1.116 + PR_ErrorInstallTable; 1.117 + PR_ErrorLanguages; 1.118 + PR_ErrorToName; 1.119 + PR_ErrorToString; 1.120 + PR_ExitMonitor; 1.121 + PR_ExplodeTime; 1.122 + PR_ExportFileMapAsString; 1.123 + PR_FD_CLR; 1.124 + PR_FD_ISSET; 1.125 + PR_FD_NCLR; 1.126 + PR_FD_NISSET; 1.127 + PR_FD_NSET; 1.128 + PR_FD_SET; 1.129 + PR_FD_ZERO; 1.130 + PR_FileDesc2NativeHandle; 1.131 + PR_FindSymbol; 1.132 + PR_FindSymbolAndLibrary; 1.133 + PR_FloorLog2; 1.134 + PR_FormatTime; 1.135 + PR_FindNextCounterQname; 1.136 + PR_FindNextCounterRname; 1.137 + PR_FindNextTraceQname; 1.138 + PR_FindNextTraceRname; 1.139 + PR_FormatTimeUSEnglish; 1.140 + PR_Free; 1.141 + PR_FreeLibraryName; 1.142 + PR_GMTParameters; 1.143 + PR_GetConnectStatus; 1.144 + PR_GetCurrentThread; 1.145 + PR_GetDefaultIOMethods; 1.146 + PR_GetDescType; 1.147 + PR_GetDirectorySeparator; 1.148 + PR_GetCounter; 1.149 + PR_GetCounterHandleFromName; 1.150 + PR_GetCounterNameFromHandle; 1.151 + PR_GetDirectorySepartor; 1.152 + PR_GetEnv; 1.153 + PR_GetError; 1.154 + PR_GetErrorText; 1.155 + PR_GetErrorTextLength; 1.156 + PR_GetFileInfo; 1.157 + PR_GetFileInfo64; 1.158 + PR_GetFileMethods; 1.159 + PR_GetGCRegisters; 1.160 + PR_GetHostByAddr; 1.161 + PR_GetHostByName; 1.162 + PR_GetIPNodeByName; 1.163 + PR_GetIdentitiesLayer; 1.164 + PR_GetInheritedFD; 1.165 + PR_GetInheritedFileMap; 1.166 + PR_GetLayersIdentity; 1.167 + PR_GetLibraryName; 1.168 + PR_GetLibraryPath; 1.169 + PR_GetMonitorEntryCount; 1.170 + PR_GetNameForIdentity; 1.171 + PR_GetOSError; 1.172 + PR_GetOpenFileInfo; 1.173 + PR_GetOpenFileInfo64; 1.174 + PR_GetPageShift; 1.175 + PR_GetPageSize; 1.176 + PR_GetPeerName; 1.177 + PR_GetPipeMethods; 1.178 + PR_GetProtoByName; 1.179 + PR_GetProtoByNumber; 1.180 + PR_GetRandomNoise; 1.181 + PR_GetSP; 1.182 + PR_GetSockName; 1.183 + PR_GetSocketOption; 1.184 + PR_GetSpecialFD; 1.185 + PR_GetStackSpaceLeft; 1.186 + PR_GetSysfdTableMax; 1.187 + PR_GetSystemInfo; 1.188 + PR_GetTCPMethods; 1.189 + PR_GetThreadAffinityMask; 1.190 + PR_GetThreadID; 1.191 + PR_GetThreadPriority; 1.192 + PR_GetThreadPrivate; 1.193 + PR_GetThreadScope; 1.194 + PR_GetThreadState; 1.195 + PR_GetThreadType; 1.196 + PR_GetUDPMethods; 1.197 + PR_GetUniqueIdentity; 1.198 + PR_ImplodeTime; 1.199 + PR_ImportFile; 1.200 + PR_ImportFileMapFromString; 1.201 + PR_ImportTCPSocket; 1.202 + PR_ImportUDPSocket; 1.203 + PR_GetTraceEntries; 1.204 + PR_GetTraceHandleFromName; 1.205 + PR_GetTraceNameFromHandle; 1.206 + PR_GetTraceOption; 1.207 + PR_Init; 1.208 + PR_Initialize; 1.209 + PR_InitializeNetAddr; 1.210 + PR_Initialized; 1.211 + PR_Interrupt; 1.212 + PR_IntervalNow; 1.213 + PR_IntervalToMicroseconds; 1.214 + PR_IntervalToMilliseconds; 1.215 + PR_IncrementCounter; 1.216 + PR_IntervalToSeconds; 1.217 + PR_IsNetAddrType; 1.218 + PR_JoinJob; 1.219 + PR_JoinThread; 1.220 + PR_JoinThreadPool; 1.221 + PR_KillProcess; 1.222 + PR_Listen; 1.223 + PR_LoadLibrary; 1.224 + PR_LoadLibraryWithFlags; 1.225 + PR_LoadStaticLibrary; 1.226 + PR_LocalTimeParameters; 1.227 + PR_Lock; 1.228 + PR_LockFile; 1.229 + PR_LogFlush; 1.230 + PR_LogPrint; 1.231 + PR_MakeDir; 1.232 + PR_Malloc; 1.233 + PR_MemMap; 1.234 + PR_MemUnmap; 1.235 + PR_MicrosecondsToInterval; 1.236 + PR_MillisecondsToInterval; 1.237 + PR_LockOrderedLock; 1.238 + PR_MkDir; 1.239 + PR_NetAddrToString; 1.240 + PR_NewCondVar; 1.241 + PR_NewLock; 1.242 + PR_NewLogModule; 1.243 + PR_NewMonitor; 1.244 + PR_NewNamedMonitor; 1.245 + PR_NewPollableEvent; 1.246 + PR_NewProcessAttr; 1.247 + PR_NewRWLock; 1.248 + PR_NewSem; 1.249 + PR_NewTCPSocket; 1.250 + PR_NewTCPSocketPair; 1.251 + PR_NewThreadPrivateIndex; 1.252 + PR_NewUDPSocket; 1.253 + PR_NormalizeTime; 1.254 + PR_Notify; 1.255 + PR_NotifyAll; 1.256 + PR_NotifyAllCondVar; 1.257 + PR_NotifyCondVar; 1.258 + PR_Now; 1.259 + PR_Open; 1.260 + PR_OpenAnonFileMap; 1.261 + PR_OpenDir; 1.262 + PR_OpenFile; 1.263 + PR_OpenSemaphore; 1.264 + PR_OpenSharedMemory; 1.265 + PR_OpenTCPSocket; 1.266 + PR_OpenUDPSocket; 1.267 + PR_ParseTimeString; 1.268 + PR_Poll; 1.269 + PR_PopIOLayer; 1.270 + PR_PostSem; 1.271 + PR_PostSemaphore; 1.272 + PR_ProcessAttrSetCurrentDirectory; 1.273 + PR_ProcessAttrSetInheritableFD; 1.274 + PR_ProcessAttrSetInheritableFileMap; 1.275 + PR_ProcessAttrSetStdioRedirect; 1.276 + PR_ProcessExit; 1.277 + PR_PushIOLayer; 1.278 + PR_QueueJob; 1.279 + PR_QueueJob_Accept; 1.280 + PR_QueueJob_Connect; 1.281 + PR_QueueJob_Read; 1.282 + PR_QueueJob_Timer; 1.283 + PR_QueueJob_Write; 1.284 + PR_RWLock_Rlock; 1.285 + PR_RWLock_Unlock; 1.286 + PR_RWLock_Wlock; 1.287 + PR_Read; 1.288 + PR_ReadDir; 1.289 + PR_Realloc; 1.290 + PR_Recv; 1.291 + PR_RecvFrom; 1.292 + PR_Rename; 1.293 + PR_ResetAlarm; 1.294 + PR_ResetProcessAttr; 1.295 + PR_ResumeAll; 1.296 + PR_RmDir; 1.297 + PR_ScanStackPointers; 1.298 + PR_RecordTraceEntries; 1.299 + PR_SecondsToInterval; 1.300 + PR_Seek; 1.301 + PR_Seek64; 1.302 + PR_Select; 1.303 + PR_Send; 1.304 + PR_SendFile; 1.305 + PR_SendTo; 1.306 + PR_SetAlarm; 1.307 + PR_SetConcurrency; 1.308 + PR_SetError; 1.309 + PR_SetErrorText; 1.310 + PR_SetFDCacheSize; 1.311 + PR_SetFDInheritable; 1.312 + PR_SetLibraryPath; 1.313 + PR_SetLogBuffering; 1.314 + PR_SetLogFile; 1.315 + PR_SetNetAddr; 1.316 + PR_SetPollableEvent; 1.317 + PR_SetSocketOption; 1.318 + PR_SetCounter; 1.319 + PR_SetStdioRedirect; 1.320 + PR_SetSysfdTableSize; 1.321 + PR_SetThreadAffinityMask; 1.322 + PR_SetThreadDumpProc; 1.323 + PR_SetThreadGCAble; 1.324 + PR_SetThreadPriority; 1.325 + PR_SetThreadPrivate; 1.326 + PR_SetThreadRecycleMode; 1.327 + PR_Shutdown; 1.328 + PR_ShutdownThreadPool; 1.329 + PR_Sleep; 1.330 + PR_Socket; 1.331 + PR_StackPop; 1.332 + PR_StackPush; 1.333 + PR_Stat; 1.334 + PR_StringToNetAddr; 1.335 + PR_SuspendAll; 1.336 + PR_Sync; 1.337 + PR_TLockFile; 1.338 + PR_ThreadScanStackPointers; 1.339 + PR_SetTraceOption; 1.340 + PR_TicksPerSecond; 1.341 + PR_TransmitFile; 1.342 + PR_USPacificTimeParameters; 1.343 + PR_UnblockClockInterrupts; 1.344 + PR_UnblockInterrupt; 1.345 + PR_UnloadLibrary; 1.346 + PR_SubtractFromCounter; 1.347 + PR_Unlock; 1.348 + PR_UnlockFile; 1.349 + PR_VersionCheck; 1.350 + PR_Wait; 1.351 + PR_WaitCondVar; 1.352 + PR_WaitForPollableEvent; 1.353 + PR_Trace; 1.354 + PR_WaitProcess; 1.355 + PR_WaitRecvReady; 1.356 + PR_WaitSem; 1.357 + PR_WaitSemaphore; 1.358 + PR_Write; 1.359 + PR_Writev; 1.360 + PR_Yield; 1.361 + PR_UnlockOrderedLock; 1.362 + PR_cnvtf; 1.363 + PR_dtoa; 1.364 + PR_fprintf; 1.365 + PR_htonl; 1.366 + PR_htonll; 1.367 + PR_htons; 1.368 + PR_ntohl; 1.369 + PR_ntohll; 1.370 + PR_ntohs; 1.371 + PR_smprintf; 1.372 + PR_smprintf_free; 1.373 + PR_snprintf; 1.374 + PR_sprintf_append; 1.375 + PR_sscanf; 1.376 + PR_strtod; 1.377 + PR_sxprintf; 1.378 + PR_vfprintf; 1.379 + PR_vsmprintf; 1.380 + PR_vsnprintf; 1.381 + PR_vsprintf_append; 1.382 + PR_vsxprintf; 1.383 + PRP_DestroyNakedCondVar; 1.384 + PRP_NakedBroadcast; 1.385 + PRP_NakedNotify; 1.386 + PRP_NakedWait; 1.387 + PRP_NewNakedCondVar; 1.388 + PRP_TryLock; 1.389 + libVersionPoint; 1.390 +;+ local: *; 1.391 +;+}; 1.392 +;+ 1.393 +;+NSPRprivate { 1.394 +;+ global: 1.395 + GetExecutionEnvironment; 1.396 + PT_FPrintStats; 1.397 + SetExecutionEnvironment; 1.398 +;+ local: *; 1.399 +;+}; 1.400 +;+ 1.401 +;+NSPR_4.1 { 1.402 +;+ global: 1.403 + PR_ConnectContinue; 1.404 + PR_CreateIOLayer; 1.405 + PR_EmulateAcceptRead; 1.406 + PR_EmulateSendFile; 1.407 + PR_FindFunctionSymbol; 1.408 + PR_FindFunctionSymbolAndLibrary; 1.409 + PR_GetMemMapAlignment; 1.410 + PR_GetNumberOfProcessors; 1.411 + PR_ImportPipe; 1.412 + PR_SetEnv; 1.413 +;+} NSPR_4.0; 1.414 +;+ 1.415 +;+NSPR_4.3 { 1.416 +;+ global: 1.417 + LL_MaxUint; 1.418 + PR_CallOnceWithArg; 1.419 + PR_GetLibraryFilePathname; 1.420 +;+} NSPR_4.1; 1.421 +;+ 1.422 +;+NSPR_4.4 { 1.423 +;+ global: 1.424 + PR_GetPathSeparator; 1.425 +;+} NSPR_4.3; 1.426 +;+ 1.427 +;+NSPR_4.5 { 1.428 +;+ global: 1.429 + PR_EnumerateAddrInfo; 1.430 + PR_FreeAddrInfo; 1.431 + PR_GetAddrInfoByName; 1.432 + PR_GetCanonNameFromAddrInfo; 1.433 +;+} NSPR_4.4; 1.434 +;+ 1.435 +;+NSPR_4.6 { 1.436 +;+ global: 1.437 + PR_GetPhysicalMemorySize; 1.438 +;+} NSPR_4.5; 1.439 +;+NSPR_4.7 { 1.440 +;+ global: 1.441 + PR_ParseTimeStringToExplodedTime; 1.442 +;+} NSPR_4.6; 1.443 +;+NSPR_4.8 { 1.444 +;+ global: 1.445 + PR_AssertCurrentThreadOwnsLock; 1.446 + PR_AssertCurrentThreadInMonitor; 1.447 +;+} NSPR_4.7; 1.448 +;+NSPR_4.8.9 { 1.449 +;+ global: 1.450 + PR_GetVersion; 1.451 +;+} NSPR_4.8; 1.452 +;+NSPR_4.9.2 { 1.453 +;+ global: 1.454 + PR_GetThreadName; 1.455 + PR_SetCurrentThreadName; 1.456 +;+} NSPR_4.8.9; 1.457 +;+NSPR_4.10.3 { 1.458 +;+ global: 1.459 + PR_SyncMemMap; 1.460 +;+} NSPR_4.9.2;