stub_cbdata.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 "cbdata.cc"
12#include "tests/STUB.h"
13
14#include "cbdata.h"
16void *cbdataInternalFree(void *) STUB_RETVAL(nullptr)
17void cbdataInternalLock(const void *) STUB
18void cbdataInternalUnlock(const void *) STUB
19int cbdataInternalReferenceDoneValid(void **, void **) STUB_RETVAL(0)
20int cbdataReferenceValid(const void *) STUB_RETVAL(0)
22
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void * cbdataInternalFree(void *p)
Definition: cbdata.cc:203
void cbdataInternalUnlock(const void *p)
Definition: cbdata.cc:238
cbdata_type cbdataInternalAddType(cbdata_type type, const char *name, int size)
Definition: cbdata.cc:117
int cbdataReferenceValid(const void *p)
Definition: cbdata.cc:265
int cbdataInternalReferenceDoneValid(void **pp, void **tp)
Definition: cbdata.cc:282
void cbdataInternalLock(const void *p)
Definition: cbdata.cc:221
static const cbdata_type CBDATA_UNKNOWN
Definition: cbdata.h:196
int cbdata_type
Definition: cbdata.h:195
void void ** STUB_RETVAL(0) int cbdataReferenceValid(const void *) STUB_RETVAL(0) cbdata_type cbdataInternalAddType(cbdata_type
Definition: stub_liblog.cc:89
void * cbdataInternalAlloc(cbdata_type) STUB_RETVAL(nullptr) void *cbdataInternalFree(void *) STUB_RETVAL(nullptr) void cbdataInternalLock(const void *) STUB void cbdataInternalUnlock(const void *) STUB int cbdataInternalReferenceDoneValid(void **

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors