Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsFormHistory.cpp File Reference
#include "nsFormHistory.h"
#include "nsIServiceManager.h"
#include "nsIObserverService.h"
#include "nsICategoryManager.h"
#include "nsIDirectoryService.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsMorkCID.h"
#include "nsIMdbFactoryFactory.h"
#include "nsQuickSort.h"
#include "nsCRT.h"
#include "nsString.h"
#include "nsUnicharUtils.h"
#include "nsReadableUtils.h"
#include "nsIContent.h"
#include "nsIDOMNode.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch.h"
#include "nsIPrefBranch2.h"
#include "nsVoidArray.h"
#include "nsCOMArray.h"

Go to the source code of this file.

Classes

class  SatchelErrorHook

Defines

#define PREF_FORMFILL_BRANCH   "browser.formfill."
#define PREF_FORMFILL_ENABLE   "enable"
#define FORMFILL_NAME_MAX_LEN   1000
#define FORMFILL_VALUE_MAX_LEN   4000

Functions

static void SwapBytes (PRUnichar *aDest, const PRUnichar *aSrc, PRUint32 aLen)

Variables

static const char * kFormHistoryFileName = "formhistory.dat"

Define Documentation

Definition at line 77 of file nsFormHistory.cpp.

Definition at line 78 of file nsFormHistory.cpp.

#define PREF_FORMFILL_BRANCH   "browser.formfill."

Definition at line 73 of file nsFormHistory.cpp.

#define PREF_FORMFILL_ENABLE   "enable"

Definition at line 74 of file nsFormHistory.cpp.


Function Documentation

static void SwapBytes ( PRUnichar aDest,
const PRUnichar aSrc,
PRUint32  aLen 
) [static]

Definition at line 64 of file nsFormHistory.cpp.

{
  for(PRUint32 i = 0; i < aLen; i++)
  {
    PRUnichar aChar = *aSrc++;
    *aDest++ = (0xff & (aChar >> 8)) | (aChar << 8);
  }
}

Here is the caller graph for this function:


Variable Documentation

const char* kFormHistoryFileName = "formhistory.dat" [static]

Definition at line 80 of file nsFormHistory.cpp.