Back to index

lightning-sunbird  0.9+nobinonly
Defines
nsUnknownDecoder.cpp File Reference
#include "nsUnknownDecoder.h"
#include "nsIServiceManager.h"
#include "nsIStreamConverterService.h"
#include "nsIPipe.h"
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "nsMimeTypes.h"
#include "netCore.h"
#include "nsXPIDLString.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch.h"
#include "nsICategoryManager.h"
#include "nsISupportsPrimitives.h"
#include "nsIContentSniffer.h"
#include "nsCRT.h"
#include "nsIMIMEService.h"
#include "nsIViewSourceChannel.h"
#include "prcpucfg.h"

Go to the source code of this file.

Defines

#define MAX_BUFFER_SIZE   1024
#define LITTLE_TO_NATIVE16(x)   x
#define MATCHES_TAG(_tagstr)
#define IS_TEXT_CHAR(ch)   (((unsigned char)(ch)) > 31 || (9 <= (ch) && (ch) <= 13) || (ch) == 27)

Define Documentation

#define IS_TEXT_CHAR (   ch)    (((unsigned char)(ch)) > 31 || (9 <= (ch) && (ch) <= 13) || (ch) == 27)

Definition at line 565 of file nsUnknownDecoder.cpp.

#define LITTLE_TO_NATIVE16 (   x)    x

Definition at line 67 of file nsUnknownDecoder.cpp.

#define MATCHES_TAG (   _tagstr)
Value:
(bufSize >= sizeof(_tagstr) &&                                          \
   (PL_strncasecmp(str, _tagstr " ", sizeof(_tagstr)) == 0 ||             \
    PL_strncasecmp(str, _tagstr ">", sizeof(_tagstr)) == 0))
#define MAX_BUFFER_SIZE   1024

Definition at line 62 of file nsUnknownDecoder.cpp.