]>
Commit | Line | Data |
---|---|---|
582c2af2 | 1 | #include "squid.h" |
b1b15292 | 2 | |
7c8931a1 AJ |
3 | #define STUB_API "store.cc" |
4 | #include "tests/STUB.h" | |
5 | ||
6 | /* and code defined in the wrong .cc file */ | |
7 | #include "SwapDir.h" | |
8 | void StoreController::maintain() STUB | |
9 | #include "RemovalPolicy.h" | |
10 | RemovalPolicy * createRemovalPolicy(RemovalPolicySettings * settings) STUB_RETVAL(NULL) | |
f5691f9c | 11 | |
7c8931a1 AJ |
12 | #include "Store.h" |
13 | StorePointer Store::CurrentRoot = NULL; | |
14 | StoreIoStats store_io_stats; | |
15 | bool StoreEntry::checkDeferRead(int fd) const STUB_RETVAL(false) | |
16 | const char *StoreEntry::getMD5Text() const STUB_RETVAL(NULL) | |
17 | StoreEntry::StoreEntry() STUB | |
18 | StoreEntry::StoreEntry(const char *url, const char *log_url) STUB | |
d5d5493b | 19 | StoreEntry::~StoreEntry() STUB |
7c8931a1 AJ |
20 | HttpReply const *StoreEntry::getReply() const STUB_RETVAL(NULL) |
21 | void StoreEntry::write(StoreIOBuffer) STUB | |
22 | bool StoreEntry::isAccepting() const STUB_RETVAL(false) | |
384a7590 | 23 | size_t StoreEntry::bytesWanted(Range<size_t> const, bool) const STUB_RETVAL(0) |
7c8931a1 AJ |
24 | void StoreEntry::complete() STUB |
25 | store_client_t StoreEntry::storeClientType() const STUB_RETVAL(STORE_NON_CLIENT) | |
26 | char const *StoreEntry::getSerialisedMetaData() STUB_RETVAL(NULL) | |
9ced5b29 | 27 | void StoreEntry::replaceHttpReply(HttpReply *, bool andStartWriting) STUB |
5b55f1f1 CT |
28 | bool StoreEntry::mayStartSwapOut() STUB_RETVAL(false) |
29 | void StoreEntry::trimMemory(const bool preserveSwappable) STUB | |
7c8931a1 AJ |
30 | void StoreEntry::abort() STUB |
31 | void StoreEntry::unlink() STUB | |
32 | void StoreEntry::makePublic() STUB | |
33 | void StoreEntry::makePrivate() STUB | |
34 | void StoreEntry::setPublicKey() STUB | |
35 | void StoreEntry::setPrivateKey() STUB | |
36 | void StoreEntry::expireNow() STUB | |
37 | void StoreEntry::releaseRequest() STUB | |
38 | void StoreEntry::negativeCache() STUB | |
39 | void StoreEntry::cacheNegatively() STUB | |
40 | void StoreEntry::invokeHandlers() STUB | |
41 | void StoreEntry::purgeMem() STUB | |
42 | void StoreEntry::swapOut() STUB | |
9ced5b29 | 43 | void StoreEntry::swapOutFileClose(int how) STUB |
7c8931a1 AJ |
44 | const char *StoreEntry::url() const STUB_RETVAL(NULL) |
45 | int StoreEntry::checkCachable() STUB_RETVAL(0) | |
46 | int StoreEntry::checkNegativeHit() const STUB_RETVAL(0) | |
47 | int StoreEntry::locked() const STUB_RETVAL(0) | |
48 | int StoreEntry::validToSend() const STUB_RETVAL(0) | |
9ced5b29 | 49 | bool StoreEntry::memoryCachable() const STUB_RETVAL(false) |
7c8931a1 | 50 | void StoreEntry::createMemObject(const char *, const char *) STUB |
9ced5b29 | 51 | void StoreEntry::hideMemObject() STUB |
7c8931a1 AJ |
52 | void StoreEntry::dump(int debug_lvl) const STUB |
53 | void StoreEntry::hashDelete() STUB | |
54 | void StoreEntry::hashInsert(const cache_key *) STUB | |
55 | void StoreEntry::registerAbort(STABH * cb, void *) STUB | |
56 | void StoreEntry::reset() STUB | |
57 | void StoreEntry::setMemStatus(mem_status_t) STUB | |
58 | void StoreEntry::timestampsSet() STUB | |
59 | void StoreEntry::unregisterAbort() STUB | |
60 | void StoreEntry::destroyMemObject() STUB | |
61 | int StoreEntry::checkTooSmall() STUB_RETVAL(0) | |
1b76e6c1 | 62 | void StoreEntry::delayAwareRead(const Comm::ConnectionPointer&, char *buf, int len, AsyncCall::Pointer callback) STUB |
7c8931a1 AJ |
63 | void StoreEntry::setNoDelay (bool const) STUB |
64 | bool StoreEntry::modifiedSince(HttpRequest * request) const STUB_RETVAL(false) | |
65 | bool StoreEntry::hasIfMatchEtag(const HttpRequest &request) const STUB_RETVAL(false) | |
66 | bool StoreEntry::hasIfNoneMatchEtag(const HttpRequest &request) const STUB_RETVAL(false) | |
9ced5b29 | 67 | RefCount<SwapDir> StoreEntry::store() const STUB_RETVAL(NULL) |
7c8931a1 AJ |
68 | size_t StoreEntry::inUseCount() STUB_RETVAL(0) |
69 | void StoreEntry::getPublicByRequestMethod(StoreClient * aClient, HttpRequest * request, const HttpRequestMethod& method) STUB | |
70 | void StoreEntry::getPublicByRequest(StoreClient * aClient, HttpRequest * request) STUB | |
71 | void StoreEntry::getPublic(StoreClient * aClient, const char *uri, const HttpRequestMethod& method) STUB | |
72 | void *StoreEntry::operator new(size_t byteCount) | |
f5691f9c | 73 | { |
7c8931a1 AJ |
74 | STUB |
75 | return new StoreEntry(); | |
f5691f9c | 76 | } |
7c8931a1 AJ |
77 | void StoreEntry::operator delete(void *address) STUB |
78 | void StoreEntry::setReleaseFlag() STUB | |
79 | //#if USE_SQUID_ESI | |
80 | //ESIElement::Pointer StoreEntry::cachedESITree STUB_RETVAL(NULL) | |
81 | //#endif | |
82 | void StoreEntry::append(char const *, int len) STUB | |
83 | void StoreEntry::buffer() STUB | |
84 | void StoreEntry::flush() STUB | |
85 | int StoreEntry::unlock() STUB_RETVAL(0) | |
86 | int64_t StoreEntry::objectLen() const STUB_RETVAL(0) | |
87 | int64_t StoreEntry::contentLen() const STUB_RETVAL(0) | |
88 | void StoreEntry::lock() STUB | |
89 | void StoreEntry::release() STUB | |
90 | ||
91 | NullStoreEntry *NullStoreEntry::getInstance() STUB_RETVAL(NULL) | |
92 | const char *NullStoreEntry::getMD5Text() const STUB_RETVAL(NULL) | |
93 | void NullStoreEntry::operator delete(void *address) STUB | |
94 | // private virtual. Why is this linked from outside? | |
95 | const char *NullStoreEntry::getSerialisedMetaData() STUB_RETVAL(NULL) | |
96 | ||
97 | void Store::Root(Store *) STUB | |
98 | void Store::Root(RefCount<Store>) STUB | |
99 | void Store::Stats(StoreEntry * output) STUB | |
100 | void Store::Maintain(void *unused) STUB | |
101 | void Store::create() STUB | |
102 | void Store::diskFull() STUB | |
103 | void Store::sync() STUB | |
104 | void Store::unlink(StoreEntry &) STUB | |
105 | ||
d5d5493b DK |
106 | std::ostream &operator <<(std::ostream &os, const StoreEntry &) |
107 | { | |
108 | STUB | |
109 | return os; | |
110 | } | |
111 | ||
7c8931a1 AJ |
112 | SQUIDCEXTERN size_t storeEntryInUse() STUB_RETVAL(0) |
113 | SQUIDCEXTERN const char *storeEntryFlags(const StoreEntry *) STUB_RETVAL(NULL) | |
114 | void storeEntryReplaceObject(StoreEntry *, HttpReply *) STUB | |
115 | SQUIDCEXTERN StoreEntry *storeGetPublic(const char *uri, const HttpRequestMethod& method) STUB_RETVAL(NULL) | |
116 | SQUIDCEXTERN StoreEntry *storeGetPublicByRequest(HttpRequest * request) STUB_RETVAL(NULL) | |
117 | SQUIDCEXTERN StoreEntry *storeGetPublicByRequestMethod(HttpRequest * request, const HttpRequestMethod& method) STUB_RETVAL(NULL) | |
118 | SQUIDCEXTERN StoreEntry *storeCreateEntry(const char *, const char *, request_flags, const HttpRequestMethod&) STUB_RETVAL(NULL) | |
119 | SQUIDCEXTERN void storeInit(void) STUB | |
120 | SQUIDCEXTERN void storeConfigure(void) STUB | |
121 | SQUIDCEXTERN void storeFreeMemory(void) STUB | |
122 | SQUIDCEXTERN int expiresMoreThan(time_t, time_t) STUB_RETVAL(0) | |
123 | SQUIDCEXTERN void storeAppendPrintf(StoreEntry *, const char *,...) STUB | |
124 | void storeAppendVPrintf(StoreEntry *, const char *, va_list ap) STUB | |
125 | SQUIDCEXTERN int storeTooManyDiskFilesOpen(void) STUB_RETVAL(0) | |
126 | SQUIDCEXTERN void storeHeapPositionUpdate(StoreEntry *, SwapDir *) STUB | |
127 | SQUIDCEXTERN void storeSwapFileNumberSet(StoreEntry * e, sfileno filn) STUB | |
128 | SQUIDCEXTERN void storeFsInit(void) STUB | |
129 | SQUIDCEXTERN void storeFsDone(void) STUB | |
130 | SQUIDCEXTERN void storeReplAdd(const char *, REMOVALPOLICYCREATE *) STUB | |
131 | void destroyStoreEntry(void *) STUB | |
132 | // in Packer.cc !? SQUIDCEXTERN void packerToStoreInit(Packer * p, StoreEntry * e) STUB | |
133 | SQUIDCEXTERN void storeGetMemSpace(int size) STUB | |
f5691f9c | 134 | |
32d002cb | 135 | #if !_USE_INLINE_ |
b1b15292 | 136 | #include "Store.cci" |
137 | #endif |