]>
Commit | Line | Data |
---|---|---|
b8151fa1 | 1 | /* |
bbc27441 | 2 | * Copyright (C) 1996-2014 The Squid Software Foundation and contributors |
b8151fa1 | 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. | |
b8151fa1 CT |
7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 16 Cache Manager API */ |
10 | ||
b8151fa1 CT |
11 | #ifndef SQUID_MGR_INT_PARAM_H |
12 | #define SQUID_MGR_INT_PARAM_H | |
13 | ||
14 | #include "ipc/forward.h" | |
15 | #include "mgr/forward.h" | |
16 | #include "mgr/QueryParam.h" | |
17 | #include <vector> | |
18 | ||
b8151fa1 CT |
19 | namespace Mgr |
20 | { | |
21 | ||
22 | class IntParam: public QueryParam | |
23 | { | |
24 | public: | |
25 | IntParam(); | |
26 | IntParam(const std::vector<int>& anArray); | |
27 | virtual void pack(Ipc::TypedMsgHdr& msg) const; | |
28 | virtual void unpackValue(const Ipc::TypedMsgHdr& msg); | |
29 | const std::vector<int>& value() const; | |
30 | ||
31 | private: | |
32 | std::vector<int> array; | |
33 | }; | |
34 | ||
35 | } // namespace Mgr | |
36 | ||
37 | #endif /* SQUID_MGR_INT_PARAM_H */ |