Elements.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 
16 namespace Adaptation
17 {
18 namespace Icap
19 {
20 
21 //TODO: remove the ICAP namespace
22 namespace ICAP
23 {
24 using Adaptation::Method;
28 
33 
34 using Adaptation::crlf;
37 }
38 
39 typedef const char *XactOutcome;
40 extern const XactOutcome xoUnknown;
41 extern const XactOutcome xoGone;
42 extern const XactOutcome xoRace;
43 extern const XactOutcome xoError;
44 extern const XactOutcome xoOpt;
45 extern const XactOutcome xoEcho;
46 extern const XactOutcome xoPartEcho;
47 extern const XactOutcome xoModified;
48 extern const XactOutcome xoSatisfied;
49 
50 } // namespace Icap
51 } // namespace Adaptation
52 
53 #endif /* SQUID_ICAPCLIENT_H */
54 
const XactOutcome xoError
all kinds of transaction errors
Definition: Elements.cc:21
const char * crlf
Definition: Elements.cc:12
const char * XactOutcome
transaction result for logging
Definition: Elements.h:39
const char * methodStr(Method)
Definition: Elements.cc:15
const XactOutcome xoOpt
OPTION transaction.
Definition: Elements.cc:22
const XactOutcome xoSatisfied
request satisfaction
Definition: Elements.cc:26
const XactOutcome xoModified
replaced virgin msg with adapted
Definition: Elements.cc:25
const XactOutcome xoEcho
preserved virgin message (ICAP 204)
Definition: Elements.cc:23
const XactOutcome xoUnknown
initial value: outcome was not set
Definition: Elements.cc:18
const XactOutcome xoGone
initiator gone, will not continue
Definition: Elements.cc:19
const XactOutcome xoPartEcho
preserved virgin msg part (ICAP 206)
Definition: Elements.cc:24
const XactOutcome xoRace
ICAP server closed pconn when we started.
Definition: Elements.cc:20
const char * vectPointStr(VectPoint)
Definition: Elements.cc:39

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors