]> git.ipfire.org Git - thirdparty/squid.git/blame - src/mgr/Command.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / Command.h
CommitLineData
8822ebee 1/*
bde978a6 2 * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
8822ebee 3 *
bbc27441
AJ
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.
8822ebee
AR
7 */
8
bbc27441
AJ
9/* DEBUG: section 16 Cache Manager API */
10
8822ebee
AR
11#ifndef SQUID_MGR_COMMAND_H
12#define SQUID_MGR_COMMAND_H
13
14#include "mgr/ActionParams.h"
15#include "mgr/forward.h"
16
17namespace Mgr
18{
19
20/// combined hard-coded action profile with user-supplied action parameters
d9fc6862
A
21class Command: public RefCountable
22{
8822ebee
AR
23public:
24 typedef RefCount<Command> Pointer;
25
26public:
27 ActionProfilePointer profile; ///< hard-coded action specification
28 ActionParams params; ///< user-supplied action arguments
29};
30
31} // namespace Mgr
32
33std::ostream &operator <<(std::ostream &os, const Mgr::Command &cmd);
34
35#endif /* SQUID_MGR_COMMAND_H */
f53969cc 36