StoreIOState.h File Reference
#include "base/RefCount.h"
#include "cbdata.h"
#include "mem/forward.h"
#include "store/forward.h"
Include dependency graph for StoreIOState.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StoreIOState
 

Functions

StoreIOState::Pointer storeCreate (StoreEntry *, StoreIOState::STFNCB *, StoreIOState::STIOCB *, void *)
 
StoreIOState::Pointer storeOpen (StoreEntry *, StoreIOState::STFNCB *, StoreIOState::STIOCB *, void *)
 
void storeClose (StoreIOState::Pointer, int how)
 
void storeRead (StoreIOState::Pointer, char *, size_t, off_t, StoreIOState::STRCB *, void *)
 
void storeIOWrite (StoreIOState::Pointer, char const *, size_t, off_t, FREE *)
 

Function Documentation

◆ storeClose()

void storeClose ( StoreIOState::Pointer  sio,
int  how 
)

◆ storeCreate()

◆ storeIOWrite()

void storeIOWrite ( StoreIOState::Pointer  sio,
char const *  buf,
size_t  size,
off_t  offset,
FREE free_func 
)

Definition at line 85 of file store_io.cc.

References size, and StoreIOState::write().

Referenced by storeSwapOutStart().

◆ storeOpen()

StoreIOState::Pointer storeOpen ( StoreEntry e,
StoreIOState::STFNCB file_callback,
StoreIOState::STIOCB callback,
void *  callback_data 
)

Definition at line 58 of file store_io.cc.

References StoreEntry::disk(), and Store::Disk::openStoreIO().

Referenced by storeSwapInStart().

◆ storeRead()

void storeRead ( StoreIOState::Pointer  sio,
char *  buf,
size_t  size,
off_t  offset,
StoreIOState::STRCB callback,
void *  callback_data 
)

Definition at line 79 of file store_io.cc.

References StoreIOState::read_(), and size.

Referenced by store_client::fileRead(), and Rock::HeaderUpdater::readMore().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors