[lsb-discuss] nss question: did we close on the nspr issue?
Wan-Teh Chang
wtc at google.com
Thu Aug 28 11:33:00 PDT 2008
On Thu, Aug 28, 2008 at 10:55 AM, Wichmann, Mats D
<mats.d.wichmann at intel.com> wrote:
>
> Okay, if you give us some more detailed pointers,
> we'll get going on this bit.
NSPR's API is documented in the NSPR Reference at
http://www.mozilla.org/projects/nspr/reference/html/.
The functions that must be exposed to use the SSL
functionality in NSS are:
Socket I/O functions:
http://www.mozilla.org/projects/nspr/reference/html/priofnc.html#18579
Polling functions (optional):
http://www.mozilla.org/projects/nspr/reference/html/priofnc.html#19643
I/O layering functions (optional, equivalent to OpenSSL's BIO):
http://www.mozilla.org/projects/nspr/reference/html/priofnc.html#19749
Hostname resolution functions (optional):
http://www.mozilla.org/projects/nspr/reference/html/prntdb.html#20541
Date and time functions (for certificate validation, only PR_Now
is needed):
http://www.mozilla.org/projects/nspr/reference/html/prtime.html#21275
NSPR shutdown (PR_Cleanup, optional):
http://www.mozilla.org/projects/nspr/reference/html/prinit.html#15811
Getting the error codes (NSS has wrappers for these):
http://www.mozilla.org/projects/nspr/reference/html/prerr.html#PR_GetError
http://www.mozilla.org/projects/nspr/reference/html/prerr.html#PR_GetOSError
Interrupting a blocking I/O function call of another thread:
http://www.mozilla.org/projects/nspr/reference/html/prthrd.html#15202
http://www.mozilla.org/projects/nspr/reference/html/prthrd.html#15471
Please let me know if you need any other information.
Wan-Teh Chang
More information about the lsb-discuss
mailing list