]>
Commit | Line | Data |
---|---|---|
8822ebee | 1 | /* |
bbc27441 | 2 | * Copyright (C) 1996-2014 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 | ||
17 | namespace Mgr | |
18 | { | |
19 | ||
20 | /// combined hard-coded action profile with user-supplied action parameters | |
d9fc6862 A |
21 | class Command: public RefCountable |
22 | { | |
8822ebee AR |
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 */ |