Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions | Public Attributes
nsNSSHttpServerSession Class Reference

#include <nsNSSCallbacks.h>

Collaboration diagram for nsNSSHttpServerSession:
Collaboration graph

List of all members.

Static Public Member Functions

static SECStatus createSessionFcn (const char *host, PRUint16 portnum, SEC_HTTP_SERVER_SESSION *pSession)

Public Attributes

nsCString mHost
PRUint16 mPort

Detailed Description

Definition at line 91 of file nsNSSCallbacks.h.

Member Function Documentation

SECStatus nsNSSHttpServerSession::createSessionFcn ( const char *  host,
PRUint16  portnum,
) [static]

Definition at line 183 of file nsNSSCallbacks.cpp.

  if (!host || !pSession)
    return SECFailure;

  nsNSSHttpServerSession *hss = new nsNSSHttpServerSession;
  if (!hss)
    return SECFailure;

  hss->mHost = host;
  hss->mPort = portnum;

  *pSession = hss;
  return SECSuccess;

Member Data Documentation

Definition at line 94 of file nsNSSCallbacks.h.

Definition at line 95 of file nsNSSCallbacks.h.

The documentation for this class was generated from the following files: