]> git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/Command.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / mgr / Command.cc
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 /* DEBUG: section 16 Cache Manager API */
10
11 #include "squid.h"
12 #include "mgr/ActionProfile.h"
13 #include "mgr/Command.h"
14
15 std::ostream &
16 Mgr::operator <<(std::ostream &os, const Command &cmd)
17 {
18 if (cmd.profile != nullptr)
19 return os << *cmd.profile;
20 return os << "undef";
21 }
22