]> git.ipfire.org Git - thirdparty/squid.git/blob - src/mgr/StringParam.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / StringParam.h
1 /*
2 * $Id$
3 *
4 * DEBUG: section 16 Cache Manager API
5 *
6 */
7
8 #ifndef SQUID_MGR_STRING_PARAM_H
9 #define SQUID_MGR_STRING_PARAM_H
10
11 #include "ipc/forward.h"
12 #include "mgr/forward.h"
13 #include "mgr/QueryParam.h"
14 #include "SquidString.h"
15
16 namespace Mgr
17 {
18
19 class StringParam: public QueryParam
20 {
21 public:
22 StringParam();
23 StringParam(const String& aString);
24 virtual void pack(Ipc::TypedMsgHdr& msg) const;
25 virtual void unpackValue(const Ipc::TypedMsgHdr& msg);
26 const String& value() const;
27
28 private:
29 String str;
30 };
31
32 } // namespace Mgr
33
34 #endif /* SQUID_MGR_STRING_PARAM_H */