Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Attributes
nsUnknownDecoder::nsSnifferEntry Struct Reference

An entry struct for our array of sniffers. More...

#include <nsUnknownDecoder.h>

Collaboration diagram for nsUnknownDecoder::nsSnifferEntry:
Collaboration graph
[legend]

List of all members.

Public Types

typedef PRBool(nsUnknownDecoder::* TypeSniffFunc )(nsIRequest *aRequest)

Public Attributes

const char * mBytes
PRUint32 mByteLen
const char * mMimeType
TypeSniffFunc mContentTypeSniffer

Detailed Description

An entry struct for our array of sniffers.

Each entry has either a type associated with it (set these with the SNIFFER_ENTRY macro) or a function to be executed (set these with the SNIFFER_ENTRY_WITH_FUNC macro). The function should take a single nsIRequest* and returns PRBool -- PR_TRUE if it sets mContentType, PR_FALSE otherwise

Definition at line 118 of file nsUnknownDecoder.h.


Member Typedef Documentation

typedef PRBool(nsUnknownDecoder::* nsUnknownDecoder::nsSnifferEntry::TypeSniffFunc)(nsIRequest *aRequest)

Definition at line 119 of file nsUnknownDecoder.h.


Member Data Documentation

Definition at line 122 of file nsUnknownDecoder.h.

Definition at line 121 of file nsUnknownDecoder.h.

Definition at line 126 of file nsUnknownDecoder.h.

Definition at line 125 of file nsUnknownDecoder.h.


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