stub_libformat.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2025 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 #include "format/Format.h"
11 #include "format/Quoting.h"
12 
13 #define STUB_API "stub_libformat.cc"
14 #include "tests/STUB.h"
15 
16 const SBuf Format::Dash("-");
17 
19 bool Format::Format::parse(char const*) STUB_RETVAL(false)
20 Format::Format::Format(char const*) STUB
22 char *Format::QuoteUrlEncodeUsername(const char *) STUB_RETVAL(nullptr)
23 char *Format::QuoteMimeBlob(const char *) STUB_RETVAL(nullptr)
24 
#define STUB_RETVAL(x)
Definition: STUB.h:42
char * QuoteMimeBlob(const char *header)
Definition: Quoting.cc:43
Definition: SBuf.h:93
char * QuoteUrlEncodeUsername(const char *name)
Definition: Quoting.cc:31
bool parse(const char *def)
Definition: Format.cc:66
Definition: MemBuf.h:23
#define STUB
macro to stub a void function.
Definition: STUB.h:34
void assemble(MemBuf &mb, const AccessLogEntryPointer &al, int logSequenceNumber) const
assemble the state information into a formatted line.
Definition: Format.cc:377
const SBuf Dash

 

Introduction

Documentation

Support

Miscellaneous