Config.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_ICAPCONFIG_H
10 #define SQUID_ICAPCONFIG_H
11 
12 #include "acl/forward.h"
13 #include "adaptation/Config.h"
15 #include "base/AsyncCall.h"
16 #include "event.h"
17 
18 namespace Adaptation
19 {
20 namespace Icap
21 {
22 
23 class ConfigParser;
24 
26 {
27 
28 public:
40 
41  Config();
42  ~Config();
43 
44  time_t connect_timeout(bool bypassable) const;
45  time_t io_timeout(bool bypassable) const;
46 
47 private:
48  Config(const Config &); // not implemented
49  Config &operator =(const Config &); // not implemented
50 
52 };
53 
54 extern Config TheConfig;
55 
56 } // namespace Icap
57 } // namespace Adaptation
58 
59 #endif /* SQUID_ICAPCONFIG_H */
60 
virtual Adaptation::ServicePointer createService(const ServiceConfigPointer &cfg)
Definition: Config.cc:36
time_t io_timeout(bool bypassable) const
Definition: Config.cc:49
char * client_username_header
Definition: Config.h:36
Config TheConfig
Definition: Config.cc:19
time_t connect_timeout(bool bypassable) const
Definition: Config.cc:41
time_t connect_timeout_raw
Definition: Config.h:33
int repeat_limit
icap_retry_limit in squid.conf
Definition: Config.h:39
Config & operator=(const Config &)
#define acl_access
Definition: forward.h:44
acl_access * repeat
icap_retry ACL in squid.conf
Definition: Config.h:38

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors