]> git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/Command.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / Command.h
1 /*
2 * Copyright (C) 1996-2015 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 #ifndef SQUID_MGR_COMMAND_H
12 #define SQUID_MGR_COMMAND_H
13
14 #include "mgr/ActionParams.h"
15 #include "mgr/forward.h"
16
17 namespace Mgr
18 {
19
20 /// combined hard-coded action profile with user-supplied action parameters
21 class Command: public RefCountable
22 {
23 public:
24 typedef RefCount<Command> Pointer;
25
26 public:
27 ActionProfilePointer profile; ///< hard-coded action specification
28 ActionParams params; ///< user-supplied action arguments
29 };
30
31 } // namespace Mgr
32
33 std::ostream &operator <<(std::ostream &os, const Mgr::Command &cmd);
34
35 #endif /* SQUID_MGR_COMMAND_H */
36