stub_store.cc File Reference
#include "squid.h"
#include "RequestFlags.h"
#include "tests/STUB.h"
#include "RemovalPolicy.h"
#include "Store.h"
Include dependency graph for stub_store.cc:

Go to the source code of this file.

Macros

#define STUB_API   "store.cc"
 

Functions

RemovalPolicycreateRemovalPolicy (RemovalPolicySettings *settings) STUB_RETVAL(NULL) StoreIoStats store_io_stats
 
size_t storeEntryInUse () STUB_RETVAL(0) void storeEntryReplaceObject(StoreEntry *
 
size_t HttpReply *STUB StoreEntrystoreGetPublic (const char *uri, const HttpRequestMethod &method) STUB_RETVAL(NULL) StoreEntry *storeGetPublicByRequest(HttpRequest *request
 
size_t HttpReply *STUB StoreEntry const KeyScope scope STUB_RETVAL (NULL) StoreEntry *storeGetPublicByRequestMethod(HttpRequest *request
 
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char const HttpRequestMethodSTUB_RETVAL (nullptr) void storeConfigure(void) STUB int expiresMoreThan(time_t
 
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char const HttpRequestMethod time_t STUB_RETVAL (0) void storeAppendPrintf(StoreEntry *
 
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char const HttpRequestMethod time_t const char STUB void storeAppendVPrintf (StoreEntry *, const char *, va_list ap) STUB int storeTooManyDiskFilesOpen(void) STUB_RETVAL(0) void storeHeapPositionUpdate(StoreEntry *
 
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char const HttpRequestMethod time_t const char STUB void SwapDir *STUB void storeSwapFileNumberSet (StoreEntry *e, sfileno filn) STUB void storeFsInit(void) STUB void storeFsDone(void) STUB void storeReplAdd(const char *
 

Variables

const char * storeStatusStr [] = { }
 
const char * pingStatusStr [] = { }
 
const char * memStatusStr [] = { }
 
const char * swapStatusStr [] = { }
 
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethodmethod
 
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char * logUrl
 

Macro Definition Documentation

◆ STUB_API

#define STUB_API   "store.cc"

Definition at line 12 of file stub_store.cc.

Function Documentation

◆ createRemovalPolicy()

◆ storeAppendVPrintf()

size_t HttpReply* STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char const HttpRequestMethod time_t const char STUB void storeAppendVPrintf ( StoreEntry ,
const char *  ,
va_list  ap 
)

Definition at line 885 of file store.cc.

References StoreEntry::vappendf().

◆ storeEntryInUse()

size_t storeEntryInUse ( )

◆ storeGetPublic()

size_t HttpReply* STUB StoreEntry* storeGetPublic ( const char *  uri,
const HttpRequestMethod method 
)

Definition at line 516 of file store.cc.

References Store::Controller::find(), Store::Root(), and storeKeyPublic().

◆ storeSwapFileNumberSet()

size_t HttpReply* STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char const HttpRequestMethod time_t const char STUB void SwapDir* STUB void storeSwapFileNumberSet ( StoreEntry e,
sfileno  filn 
) const

◆ STUB_RETVAL() [1/3]

size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod & STUB_RETVAL ( NULL  )

◆ STUB_RETVAL() [2/3]

size_t HttpReply* STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char const HttpRequestMethod& STUB_RETVAL ( nullptr  )

◆ STUB_RETVAL() [3/3]

size_t HttpReply* STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char const HttpRequestMethod time_t STUB_RETVAL ( )

Variable Documentation

◆ logUrl

size_t HttpReply* STUB StoreEntry const KeyScope scope const HttpRequestMethod const KeyScope scope const char const RequestFlags const HttpRequestMethod const char* logUrl

Definition at line 114 of file stub_store.cc.

◆ memStatusStr

const char* memStatusStr[] = { }
Todo:
Convert these string constants to enum string-arrays generated

Definition at line 17 of file stub_store.cc.

Referenced by describeStatuses().

◆ method

◆ pingStatusStr

const char* pingStatusStr[] = { }

Definition at line 16 of file stub_store.cc.

Referenced by describeStatuses().

◆ storeStatusStr

const char* storeStatusStr[] = { }

Definition at line 15 of file stub_store.cc.

Referenced by describeStatuses().

◆ swapStatusStr

const char* swapStatusStr[] = { }

Definition at line 18 of file stub_store.cc.

Referenced by describeStatuses().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors