~ubuntu-branches/ubuntu/natty/nss/natty-updates

« back to all changes in this revision

Viewing changes to mozilla/security/nss/lib/certhigh/ocsp.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-01-11 17:06:57 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110111170657-c78fmmj5q901967x
Tags: 3.12.9~b2-0ubuntu1
* New upstream release v3.12.9beta2 (NSS_3_12_9_BETA2)
* Drop the link shuffeling now, as all upgraders to this version will be
  using a fixed package anyway
  - remove debian/libnss3-1d.postinst
  - remove debian/libnss3-1d.postrm
  - remove debian/libnss3-1d.preinst
  - remove debian/libnss3-1d.prerm
* Ship the main SO files in an unversioned binary, as we don't have
  versioned SO's in Ubuntu. Maintain a transitional versioned binary
  package containing the versioned symlinks, to maintain compatibility with
  Debian
  - update debian/control
  - mass rename debian/libnss3-1d* => debian/libnss3*
  - update debian/rules
* Fix postinst-must-call-ldconfig - dh_makeshlibs doesn't seem to add
  the maintainer script hooks with the unversioned SO files, so add them
  manually
  - add debian/libnss3.postinst
  - add debian/libnss3.postrm
* Drop libnss3-0d now
  - remove debian/libnss3-0d.dirs
  - remove debian/libnss3-0d.links
  - update debian/control
* Bump libnspr4-dev build-dependency to 4.8.7
  - update debian/control
* Update symbols
  - update debian/libnss3.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
/*
38
38
 * Interface to the OCSP implementation.
39
39
 *
40
 
 * $Id: ocsp.h,v 1.17 2010/02/01 20:09:32 wtc%google.com Exp $
 
40
 * $Id: ocsp.h,v 1.17.2.1 2010/09/27 21:22:20 wtc%google.com Exp $
41
41
 */
42
42
 
43
43
#ifndef _OCSP_H_
476
476
 
477
477
/*
478
478
 * FUNCTION: CERT_ParseURL
479
 
 *   Parse the URI of a OCSP responder into hostname, port, and path.
 
479
 *   Parse a URI into hostname, port, and path.  The scheme in the URI must
 
480
 *   be "http".
480
481
 * INPUTS:
481
 
 *   const char *location
 
482
 *   const char *url
482
483
 *     The URI to be parsed
483
484
 * OUTPUTS:
484
485
 *   char *pHostname
490
491
 *     Pointer to store the path obtained from the URI.
491
492
 *     This result should be freed (via PORT_Free) when no longer in use.
492
493
 * RETURN:
493
 
 *   Returns SECSuccess when parsing was successful. Anything else means
 
494
 *   Returns SECSuccess when parsing was successful. Returns SECFailure when
494
495
 *   problems were encountered.
495
 
 *     
496
496
 */
497
497
extern SECStatus
498
498
CERT_ParseURL(const char *url, char **pHostname, PRUint16 *pPort, char **pPath);