Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions | Public Attributes
ResourceHashEntry Struct Reference
Inheritance diagram for ResourceHashEntry:
Inheritance graph
Collaboration diagram for ResourceHashEntry:
Collaboration graph

List of all members.

Static Public Member Functions

static const void *PR_CALLBACK GetKey (PLDHashTable *table, PLDHashEntryHdr *hdr)
static PLDHashNumber PR_CALLBACK HashKey (PLDHashTable *table, const void *key)
static PRBool PR_CALLBACK MatchEntry (PLDHashTable *table, const PLDHashEntryHdr *hdr, const void *key)

Public Attributes

const char * mKey
PLDHashNumber keyHash

Detailed Description

Definition at line 214 of file nsRDFService.cpp.

Member Function Documentation

static const void* PR_CALLBACK ResourceHashEntry::GetKey ( PLDHashTable table,
PLDHashEntryHdr hdr 
) [inline, static]

Definition at line 219 of file nsRDFService.cpp.

static PLDHashNumber PR_CALLBACK ResourceHashEntry::HashKey ( PLDHashTable table,
const void key 
) [inline, static]

Definition at line 226 of file nsRDFService.cpp.

        return nsCRT::HashCode(NS_STATIC_CAST(const char *, key));
static PRBool PR_CALLBACK ResourceHashEntry::MatchEntry ( PLDHashTable table,
const PLDHashEntryHdr hdr,
const void key 
) [inline, static]

Definition at line 232 of file nsRDFService.cpp.

        const ResourceHashEntry *entry =
            NS_STATIC_CAST(const ResourceHashEntry *, hdr);

        return 0 == nsCRT::strcmp(NS_STATIC_CAST(const char *, key),

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 215 of file nsRDFService.cpp.

Definition at line 216 of file nsRDFService.cpp.

The documentation for this struct was generated from the following file: