]> git.ipfire.org Git - thirdparty/squid.git/blame - src/esi/Esi.h
mkrelease: allow two digits for minor release numbers (#1837)
[thirdparty/squid.git] / src / esi / Esi.h
CommitLineData
43ae1d95 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
43ae1d95 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.
43ae1d95 7 */
8
ff9d9458
FC
9#ifndef SQUID_SRC_ESI_ESI_H
10#define SQUID_SRC_ESI_ESI_H
43ae1d95 11
12#include "clientStream.h"
f66e113e
AJ
13#include "sbuf/SBuf.h"
14
15#if !defined(ESI_STACK_DEPTH_LIMIT)
16#define ESI_STACK_DEPTH_LIMIT 20
17#endif
43ae1d95 18
19/* ESI.c */
20extern CSR esiStreamRead;
21extern CSCB esiProcessStream;
22extern CSD esiStreamDetach;
23extern CSS esiStreamStatus;
8a648e8d 24int esiEnableProcessing (HttpReply *);
43ae1d95 25
f66e113e
AJ
26namespace Esi
27{
28
29typedef SBuf ErrorDetail;
30/// prepare an Esi::ErrorDetail for throw on ESI parser internal errors
31inline Esi::ErrorDetail Error(const char *msg) { return ErrorDetail(msg); }
32
33} // namespace Esi
34
ff9d9458 35#endif /* SQUID_SRC_ESI_ESI_H */
f53969cc 36