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
16const SBuf Format::Dash("-");
17
19bool Format::Format::parse(char const*) STUB_RETVAL(false)
20Format::Format::Format(char const*) STUB
22char *Format::QuoteUrlEncodeUsername(const char *) STUB_RETVAL(nullptr)
23char *Format::QuoteMimeBlob(const char *) STUB_RETVAL(nullptr)
24
#define STUB
macro to stub a void function.
Definition STUB.h:34
#define STUB_RETVAL(x)
Definition STUB.h:42
bool parse(const char *def)
Definition Format.cc:66
void assemble(MemBuf &mb, const AccessLogEntryPointer &al, int logSequenceNumber) const
assemble the state information into a formatted line.
Definition Format.cc:377
Definition SBuf.h:94
const SBuf Dash