Elements.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 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 #include "squid.h"
10 #include "adaptation/Elements.h"
11 
12 const char *Adaptation::crlf = "\r\n";
13 
14 const char *
16 {
17  switch (method) {
18 
20  return "REQMOD";
21  break;
22 
24  return "RESPMOD";
25  break;
26 
28  return "OPTIONS";
29  break;
30 
31  default:
32  break;
33  }
34 
35  return "NONE";
36 }
37 
38 const char *
40 {
41  switch (point) {
42 
44  return "PRECACHE";
45  break;
46 
48  return "POSTCACHE";
49  break;
50 
51  default:
52  break;
53  }
54 
55  return "NONE";
56 }
57 
const char * crlf
Definition: Elements.cc:12
const char * methodStr(Method)
Definition: Elements.cc:15
size_t HttpReply *STUB StoreEntry const KeyScope scope const HttpRequestMethod & method
Definition: stub_store.cc:112
const char * vectPointStr(VectPoint)
Definition: Elements.cc:39

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors