Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Enumerations
nsDiskCacheMap.h File Reference
#include <limits.h>
#include "prtypes.h"
#include "prnetdb.h"
#include "nsDebug.h"
#include "nsError.h"
#include "nsILocalFile.h"
#include "nsDiskCache.h"
#include "nsDiskCacheBlockFile.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsDiskCacheRecord
class  nsDiskCacheRecordVisitor
struct  nsDiskCacheHeader
class  nsDiskCacheMap

Defines

#define BLOCK_SIZE_FOR_INDEX(index)   ((index) ? (256 << (2 * ((index) - 1))) : 0)
#define kMinRecordCount   512
#define kMaxRecordCount   8192
#define kSeparateFile   0
#define kMaxDataFileSize   0x4000000
#define kBuckets   (1 << 5)

Enumerations

enum  { kDeleteRecordAndContinue = -1, kStopVisitingRecords = 0, kVisitNextRecord = 1 }

Define Documentation

#define BLOCK_SIZE_FOR_INDEX (   index)    ((index) ? (256 << (2 * ((index) - 1))) : 0)

Definition at line 87 of file nsDiskCacheMap.h.

#define kBuckets   (1 << 5)

Definition at line 95 of file nsDiskCacheMap.h.

#define kMaxDataFileSize   0x4000000

Definition at line 94 of file nsDiskCacheMap.h.

#define kMaxRecordCount   8192

Definition at line 91 of file nsDiskCacheMap.h.

Definition at line 90 of file nsDiskCacheMap.h.

Definition at line 93 of file nsDiskCacheMap.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
kDeleteRecordAndContinue 
kStopVisitingRecords 
kVisitNextRecord 

Definition at line 320 of file nsDiskCacheMap.h.