Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsNSSShutDown.cpp File Reference
#include "nsNSSShutDown.h"
#include "nsCOMPtr.h"

Go to the source code of this file.

Classes

struct  ObjectHashEntry

Functions

 ObjectSetGetKey (PLDHashTable *table, PLDHashEntryHdr *hdr)
 ObjectSetMatchEntry (PLDHashTable *table, const PLDHashEntryHdr *hdr, const void *key)
 ObjectSetInitEntry (PLDHashTable *table, PLDHashEntryHdr *hdr, const void *key)

Variables

static PLDHashTableOps gSetOps

Function Documentation

ObjectSetGetKey ( PLDHashTable table,
PLDHashEntryHdr hdr 
)

Definition at line 50 of file nsNSSShutDown.cpp.

{
  ObjectHashEntry *entry = NS_STATIC_CAST(ObjectHashEntry*, hdr);
  return entry->obj;
}
ObjectSetInitEntry ( PLDHashTable table,
PLDHashEntryHdr hdr,
const void key 
)
ObjectSetMatchEntry ( PLDHashTable table,
const PLDHashEntryHdr hdr,
const void key 
)

Definition at line 57 of file nsNSSShutDown.cpp.

{
  const ObjectHashEntry *entry = NS_STATIC_CAST(const ObjectHashEntry*, hdr);
  return entry->obj == NS_STATIC_CAST(const nsNSSShutDownObject*, key);
}

Variable Documentation