]> git.ipfire.org Git - thirdparty/squid.git/blame - src/mgr/StringParam.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / mgr / StringParam.h
CommitLineData
b8151fa1 1/*
b8ae064d 2 * Copyright (C) 1996-2023 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_STRING_PARAM_H
12#define SQUID_MGR_STRING_PARAM_H
13
14#include "ipc/forward.h"
15#include "mgr/forward.h"
16#include "mgr/QueryParam.h"
17#include "SquidString.h"
18
b8151fa1
CT
19namespace Mgr
20{
21
22class StringParam: public QueryParam
23{
24public:
25 StringParam();
26 StringParam(const String& aString);
337b9aa4
AR
27 void pack(Ipc::TypedMsgHdr& msg) const override;
28 void unpackValue(const Ipc::TypedMsgHdr& msg) override;
b8151fa1
CT
29 const String& value() const;
30
31private:
32 String str;
33};
34
35} // namespace Mgr
36
37#endif /* SQUID_MGR_STRING_PARAM_H */
f53969cc 38