]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/esi/Literal.h
2 * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
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.
9 /* DEBUG: section 86 ESI processing */
11 #ifndef SQUID_ESILITERAL_H
12 #define SQUID_ESILITERAL_H
14 #include "esi/Element.h"
18 class esiLiteral
: public ESIElement
20 MEMPROXY_CLASS(esiLiteral
);
23 esiLiteral(ESISegment::Pointer
);
24 esiLiteral(ESIContext
*, const char *s
, int len
);
27 void render(ESISegment::Pointer
);
28 esiProcessResult_t
process (int dovars
);
29 Pointer
makeCacheable() const;
30 Pointer
makeUsable(esiTreeParentPtr
, ESIVarState
&) const;
31 /* optimise copies away later */
32 ESISegment::Pointer buffer
;
38 ESIVarState
*varState
;
42 esiLiteral(esiLiteral
const &);
45 #endif /* SQUID_ESILITERAL_H */