stub_libdiskio.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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"
19void DiskIOModule::ModuleAdd(DiskIOModule &) STUB
20void DiskIOModule::FreeAllModules() STUB
21DiskIOModule *DiskIOModule::Find(char const *) STUB_RETVAL(nullptr)
22DiskIOModule *DiskIOModule::FindDefault() STUB_RETVAL(nullptr)
28
29// #include "DiskIO/DiskIOStrategy.h"
30// #include "DiskIO/DiskIORequestor.h"
31#include "DiskIO/ReadRequest.h"
32ReadRequest::ReadRequest(char *, off_t, size_t) {STUB}
33
34#include "DiskIO/WriteRequest.h"
35WriteRequest::WriteRequest(char const *, off_t, size_t, FREE *) {STUB}
36
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETSTATREF(x)
Definition: STUB.h:54
#define STUB_RETVAL(x)
Definition: STUB.h:41
static char vector[AUTH_VECTOR_LEN]
DiskIOModule & operator=(DiskIOModule const &)
static void RegisterAllModulesWithCacheManager(void)
static void SetupAllModules()
Definition: DiskIOModule.cc:45
ReadRequest(char *buf, off_t offset, size_t len)
Definition: ReadRequest.cc:13
WriteRequest(char const *buf, off_t offset, size_t len, FREE *)
Definition: WriteRequest.cc:13
void FREE(void *)
Definition: forward.h:37
STL namespace.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors