The following obsolete interfaces will be deleted from NSPR 4.0 PR_GetSockOpt PR_SetSockOpt PR_CreateNetAddr PR_DestroyNetAddr PR_GetHostName PR_GetErrorString
Can we remove PR_SetIPv6Enable()?
Deleted PR_SetIPv6Enable() and PR_FamilyInet(). See Bugzilla #23815.
Deleted PR_NT_UseNonblock (see bug #24542).
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.)
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.)
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.
Yes, the get/setsockopt functions should be marked reserved.
I renamed the 'getsockopt' and 'setsockopt' fields of the PRIOMethods structure to 'reserved_fn_6' and 'reserved_fn_5'. (NSPRPUB_RELEASE_4_0_BRANCH)
lib/prstreams (header prstrms.h, library libprstrms3.so) has been removed from NSPR 4.0. (See bug #26844.)
The obsolete internal functions PR_SetThreadExit and PR_GetThreadExit were removed. (Bugzilla #17699)
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.)