Squid Web Cache
master
Loading...
Searching...
No Matches
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
18
void
Format::Format::assemble
(
MemBuf
&,
const
AccessLogEntryPointer
&,
int
)
const
STUB
19
bool
Format::Format::parse
(
char
const
*)
STUB_RETVAL
(
false
)
20
Format
::
Format
::
Format
(
char
const*)
STUB
21
Format
::
Format
::~
Format
()
STUB
22
char
*
Format
::QuoteUrlEncodeUsername(const
char
*)
STUB_RETVAL
(
nullptr
)
23
char
*
Format
::QuoteMimeBlob(const
char
*)
STUB_RETVAL
(
nullptr
)
24
Format.h
STUB.h
STUB
#define STUB
macro to stub a void function.
Definition
STUB.h:34
STUB_RETVAL
#define STUB_RETVAL(x)
Definition
STUB.h:42
Format::Format::parse
bool parse(const char *def)
Definition
Format.cc:66
Format::Format::assemble
void assemble(MemBuf &mb, const AccessLogEntryPointer &al, int logSequenceNumber) const
assemble the state information into a formatted line.
Definition
Format.cc:377
MemBuf
Definition
MemBuf.h:24
RefCount< AccessLogEntry >
SBuf
Definition
SBuf.h:94
Quoting.h
Format
Definition
SchemeConfig.h:28
Format::Dash
const SBuf Dash
squid.h
squid
src
tests
stub_libformat.cc
Generated by
1.9.8