stub_libdiskio.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #include "squid.h"
10 
11 #define STUB_API "DiskIO/libdiskio.la"
12 #include "tests/STUB.h"
13 
14 #include <vector>
15 
16 // #include "DiskIO/DiskFile.h"
17 #include "DiskIO/DiskIOModule.h"
19 void DiskIOModule::ModuleAdd(DiskIOModule &) STUB
20 void DiskIOModule::FreeAllModules() STUB
21 DiskIOModule *DiskIOModule::Find(char const *) STUB_RETVAL(NULL)
23 std::vector<DiskIOModule*> const &DiskIOModule::Modules() STUB_RETSTATREF(std::vector<DiskIOModule*>)
27 void DiskIOModule::RegisterAllModulesWithCacheManager() STUB
28 
29 // #include "DiskIO/DiskIOStrategy.h"
30 // #include "DiskIO/DiskIORequestor.h"
31 #include "DiskIO/ReadRequest.h"
32 ReadRequest::ReadRequest(char *, off_t, size_t) {STUB}
33 
34 #include "DiskIO/WriteRequest.h"
35 WriteRequest::WriteRequest(char const *, off_t, size_t, FREE *) {STUB}
36 
static char vector[AUTH_VECTOR_LEN]
void FREE(void *)
Definition: forward.h:36
#define STUB_RETVAL(x)
Definition: STUB.h:41
ReadRequest(char *buf, off_t offset, size_t len)
Definition: ReadRequest.cc:13
#define STUB
macro to stub a void function.
Definition: STUB.h:33
DiskIOModule & operator=(DiskIOModule const &)
WriteRequest(char const *buf, off_t offset, size_t len, FREE *)
Definition: WriteRequest.cc:13
#define NULL
Definition: types.h:166
#define STUB_RETSTATREF(x)
Definition: STUB.h:54
static void SetupAllModules()
Definition: DiskIOModule.cc:45

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors