Elements.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
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.
7 */
8
9#ifndef SQUID_ICAPELEMENTS_H
10#define SQUID_ICAPELEMENTS_H
11
12#include "adaptation/Elements.h"
13
14// ICAP-related things shared by many ICAP classes
15
16namespace Adaptation
17{
18namespace Icap
19{
20
21//TODO: remove the ICAP namespace
22namespace ICAP
23{
28
33
37}
38
39typedef const char *XactOutcome;
40extern const XactOutcome xoUnknown;
41extern const XactOutcome xoGone;
42extern const XactOutcome xoRace;
43extern const XactOutcome xoError;
44extern const XactOutcome xoOpt;
45extern const XactOutcome xoEcho;
46extern const XactOutcome xoPartEcho;
47extern const XactOutcome xoModified;
48extern const XactOutcome xoSatisfied;
49
50} // namespace Icap
51} // namespace Adaptation
52
53#endif /* SQUID_ICAPCLIENT_H */
54
const XactOutcome xoPartEcho
preserved virgin msg part (ICAP 206)
Definition: Elements.cc:24
const XactOutcome xoModified
replaced virgin msg with adapted
Definition: Elements.cc:25
const XactOutcome xoGone
initiator gone, will not continue
Definition: Elements.cc:19
const XactOutcome xoRace
ICAP server closed pconn when we started.
Definition: Elements.cc:20
const XactOutcome xoError
all kinds of transaction errors
Definition: Elements.cc:21
const XactOutcome xoOpt
OPTION transaction.
Definition: Elements.cc:22
const char * XactOutcome
transaction result for logging
Definition: Elements.h:39
const XactOutcome xoSatisfied
request satisfaction
Definition: Elements.cc:26
const XactOutcome xoUnknown
initial value: outcome was not set
Definition: Elements.cc:18
const XactOutcome xoEcho
preserved virgin message (ICAP 204)
Definition: Elements.cc:23
const char * crlf
Definition: Elements.cc:12
@ methodRespmod
Definition: Elements.h:17
@ methodNone
Definition: Elements.h:17
@ methodReqmod
Definition: Elements.h:17
const char * vectPointStr(VectPoint)
Definition: Elements.cc:39
@ pointPreCache
Definition: Elements.h:18
@ pointPostCache
Definition: Elements.h:18
@ pointNone
Definition: Elements.h:18
const char * methodStr(Method)
Definition: Elements.cc:15

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors