Closed
Bug 23642
Opened 25 years ago
Closed 24 years ago
Obsolete APIs removed in NSPR 4.0
Categories
(NSPR :: NSPR, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: srinivas, Assigned: srinivas)
References
Details
The following obsolete interfaces will be deleted from NSPR 4.0 PR_GetSockOpt PR_SetSockOpt PR_CreateNetAddr PR_DestroyNetAddr PR_GetHostName PR_GetErrorString
Comment 1•25 years ago
|
||
Can we remove PR_SetIPv6Enable()?
Deleted PR_SetIPv6Enable() and PR_FamilyInet(). See Bugzilla #23815.
Updated•25 years ago
|
Comment 3•25 years ago
|
||
Deleted PR_NT_UseNonblock (see bug #24542).
Comment 4•25 years ago
|
||
The header file prlink_mac.h and the two Mac-specific functions declared in it, PR_LoadIndexedFragment and PR_LoadNamedFragment, were removed. (See bug #19150.)
Depends on: 19150
Comment 5•25 years ago
|
||
PLEvent was removed from libplds3. This includes all the data types, macros, and functions defined or declared in plevent.h. The header plevent.h was also removed. The new home for PLEvent and the header plevent.h is mozilla/xpcom/threads. (See bug #17101.)
Updated•25 years ago
|
Whiteboard: I'm going to remove the obsolete functions from the 4.0 branch -- wtc
Comment 6•25 years ago
|
||
I removed the following obsolete functions on the NSPRPUB_RELEASE_4_0_BRANCH: PR_GetSockOpt PR_SetSockOpt PR_CreateNetAddr PR_DestroyNetAddr PR_GetHostName PR_GetErrorString Should we rename the 'getsockopt' and 'setsockopt' fields in the PRIOMethods structure to 'reserved_fn_n'? This is to break the compilation of the code that is still using those two fields. These two fields in all of NSPR's io method tables are now initialized to _PR_InvalidStatus, so they will fail at run time.
Whiteboard: I'm going to remove the obsolete functions from the 4.0 branch -- wtc
Yes, the get/setsockopt functions should be marked reserved.
Comment 8•25 years ago
|
||
I renamed the 'getsockopt' and 'setsockopt' fields of the PRIOMethods structure to 'reserved_fn_6' and 'reserved_fn_5'. (NSPRPUB_RELEASE_4_0_BRANCH)
Comment 9•25 years ago
|
||
lib/prstreams (header prstrms.h, library libprstrms3.so) has been removed from NSPR 4.0. (See bug #26844.)
Depends on: 26844
Comment 10•24 years ago
|
||
The obsolete internal functions PR_SetThreadExit and PR_GetThreadExit were removed. (Bugzilla #17699)
Depends on: 17699
Comment 11•24 years ago
|
||
The macro PR_NETADDR_SIZE and function PR_NetAddrSize are no longer exported. They were moved to the internal header file primpl.h, and PR_NetAddrSize is renamed _PR_NetAddrSize. (The leading underscore indicates an internal function.)
Assignee | ||
Comment 12•24 years ago
|
||
Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•