HttpReply.cc \
HttpReply.h \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
RegexList.h \
RegexList.cc \
MemBuf.cc \
URLScheme.cc \
URLScheme.h \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
MemBuf.cc \
wordlist.h \
wordlist.cc
HttpRequest.cc \
HttpRequestMethod.cc \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
String.cc \
tests/testCacheManager.cc \
tests/testCacheManager.h \
MemObject.cc \
mem_node.cc \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
Notes.h \
Notes.cc \
Packer.cc \
MasterXaction.cc \
MasterXaction.h \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
mem_node.cc \
MemBuf.cc \
MemObject.cc \
MemBuf.cc \
MemObject.cc \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
mem_node.cc \
mime.h \
mime.cc \
MemBuf.cc \
MemObject.cc \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
mem_node.cc \
mime.h \
mime.cc \
MemBuf.cc \
MemBuf.h \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
String.cc \
cache_cf.h \
YesNoNone.h \
HttpRequest.cc \
HttpRequestMethod.cc \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
String.cc \
tests/testHttpRequest.h \
tests/testHttpRequest.cc \
MasterXaction.cc \
MasterXaction.h \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
mem_node.cc \
MemBuf.cc \
MemObject.cc \
tests_testString_SOURCES = \
ClientInfo.h \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
MemBuf.cc \
String.cc \
tests/testMain.cc \
multicast.h \
multicast.cc \
Mem.h \
- mem.cc \
+ tests/stub_mem.cc \
mem_node.cc \
MemBuf.cc \
MemObject.cc \
$(SBUF_SOURCE) \
SBufStream.h \
tests/stub_time.cc \
- mem.cc \
+ tests/stub_mem.cc \
tests/stub_debug.cc \
tests/stub_fatal.cc \
tests/stub_HelperChildConfig.cc \
return cxx_xfree;
}
-void * memAllocate(mem_type type) STUB_RETVAL(NULL)
-void memFree(void *p, int type) STUB
+void * memAllocate(mem_type type) {
+ // let's waste plenty of memory. This should cover any possible need
+ return xmalloc(64*1024);
+}
+void memFree(void *p, int type) {
+ xfree(p);
+}
void Mem::Init(void) STUB_NOP
-
+void memDataInit(mem_type, const char *, size_t, int, bool) STUB_NOP
+int memInUse(mem_type) STUB_RETVAL(0)
+void memConfigure(void) STUB_NOP