]> git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/IntParam.h
apply the initial Phase3 of the SMP Cache Manager patch
[thirdparty/squid.git] / src / mgr / IntParam.h
1 /*
2 * $Id$
3 *
4 * DEBUG: section 16 Cache Manager API
5 *
6 */
7
8 #ifndef SQUID_MGR_INT_PARAM_H
9 #define SQUID_MGR_INT_PARAM_H
10
11 #include "ipc/forward.h"
12 #include "mgr/forward.h"
13 #include "mgr/QueryParam.h"
14 #include <vector>
15
16
17 namespace Mgr
18 {
19
20 class IntParam: public QueryParam
21 {
22 public:
23 IntParam();
24 IntParam(const std::vector<int>& anArray);
25 virtual void pack(Ipc::TypedMsgHdr& msg) const;
26 virtual void unpackValue(const Ipc::TypedMsgHdr& msg);
27 const std::vector<int>& value() const;
28
29 private:
30 std::vector<int> array;
31 };
32
33 } // namespace Mgr
34
35 #endif /* SQUID_MGR_INT_PARAM_H */