The default bug view has changed. See this FAQ.

Obsolete APIs removed in NSPR 4.0

RESOLVED FIXED

Status

NSPR
NSPR
P3
normal
RESOLVED FIXED
17 years ago
17 years ago

People

(Reporter: srinivas, Assigned: srinivas)

Tracking

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

17 years ago
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

17 years ago
Can we remove PR_SetIPv6Enable()?
(Assignee)

Comment 2

17 years ago
Deleted PR_SetIPv6Enable() and PR_FamilyInet().

See Bugzilla #23815.

Updated

17 years ago
Depends on: 17101, 24542

Updated

17 years ago
Blocks: 23641

Comment 3

17 years ago
Deleted PR_NT_UseNonblock (see bug #24542).

Comment 4

17 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

17 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

17 years ago
Whiteboard: I'm going to remove the obsolete functions from the 4.0 branch -- wtc

Comment 6

17 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
(Assignee)

Comment 7

17 years ago
Yes, the get/setsockopt functions should be marked reserved.

Comment 8

17 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

17 years ago
lib/prstreams (header prstrms.h, library libprstrms3.so) has
been removed from NSPR 4.0.  (See bug #26844.)
Depends on: 26844
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED

Comment 10

17 years ago
The obsolete internal functions PR_SetThreadExit
and PR_GetThreadExit were removed. (Bugzilla #17699)
Depends on: 17699

Comment 11

17 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

17 years ago
Marking fixed.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.