stub_libstore.cc File Reference
#include "squid.h"
#include "tests/STUB.h"
#include "store/Controller.h"
#include "store/Disk.h"
#include "store/Disks.h"
#include "store/LocalSearch.h"
#include "store/SwapMetaIn.h"
#include "store/SwapMetaOut.h"
Include dependency graph for stub_libstore.cc:

Go to the source code of this file.

Namespaces

namespace  Store
 

Macros

#define STUB_API   "store/libstore.la"
 

Functions

void storeDirOpenSwapLogs(void) STUB int storeDirWriteCleanLogs(int) STUB_RETVAL(0) void storeDirCloseSwapLogs(void) STUB void allocate_new_swapdir(Store void storeDirSwapLog (const StoreEntry *, int) STUB namespace Store
 

Variables

void Controller::create() STUB void Controller Controller Store::nil
 

Macro Definition Documentation

◆ STUB_API

#define STUB_API   "store/libstore.la"

Definition at line 11 of file stub_libstore.cc.

Function Documentation

◆ storeDirSwapLog()

void storeDirOpenSwapLogs(void) STUB int storeDirWriteCleanLogs(int) STUB_RETVAL(0) void storeDirCloseSwapLogs(void) STUB void allocate_new_swapdir(Store void storeDirSwapLog ( const StoreEntry e,
int  op 
)

An entry written to the swap log MUST have the following properties.

  1. It MUST be a public key. It does no good to log a public ADD, change the key, then log a private DEL. So we need to log a DEL before we change a key from public to private.
  2. It MUST have a valid (> -1) swap_filen.

Definition at line 136 of file stub_libstore.cc.

References Store::NewLocalSearch(), and STUB_RETVAL.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors