Inheritance diagram for UFSSwapLogParser_v1_32bs:
Collaboration diagram for UFSSwapLogParser_v1_32bs:

Classes

struct  StoreSwapLogDataOld
 

Public Member Functions

 UFSSwapLogParser_v1_32bs (FILE *fp)
 
bool ReadRecord (StoreSwapLogData &swapData)
 Convert the on-disk 32-bit format to our current format while reading. More...
 
int SwapLogEntries ()
 
void Close ()
 

Static Public Member Functions

static UFSSwapLogParserGetUFSSwapLogParser (FILE *fp)
 

Public Attributes

FILE * log
 
int log_entries
 
int record_size
 

Detailed Description

Parse a swap header entry created on a system with 32-bit size_t and sfileno this is typical of 32-bit systems without large file support NP: SQUID_MD5_DIGEST_LENGTH is very risky still.

Definition at line 23 of file UFSSwapLogParser.cc.

Constructor & Destructor Documentation

◆ UFSSwapLogParser_v1_32bs()

UFSSwapLogParser_v1_32bs::UFSSwapLogParser_v1_32bs ( FILE *  fp)
inline

Definition at line 40 of file UFSSwapLogParser.cc.

References Fs::Ufs::UFSSwapLogParser::record_size.

Member Function Documentation

◆ Close()

void Fs::Ufs::UFSSwapLogParser::Close ( )
inlineinherited

Definition at line 34 of file UFSSwapLogParser.h.

References Fs::Ufs::UFSSwapLogParser::log, and NULL.

◆ GetUFSSwapLogParser()

Fs::Ufs::UFSSwapLogParser * Fs::Ufs::UFSSwapLogParser::GetUFSSwapLogParser ( FILE *  fp)
staticinherited

◆ ReadRecord()

◆ SwapLogEntries()

int Fs::Ufs::UFSSwapLogParser::SwapLogEntries ( )
inherited

Definition at line 129 of file UFSSwapLogParser.cc.

References log(), and sb.

Member Data Documentation

◆ log

FILE* Fs::Ufs::UFSSwapLogParser::log
inherited

◆ log_entries

int Fs::Ufs::UFSSwapLogParser::log_entries
inherited

Definition at line 23 of file UFSSwapLogParser.h.

◆ record_size

int Fs::Ufs::UFSSwapLogParser::record_size
inherited

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors