Config.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_SRC_ADAPTATION_ICAP_CONFIG_H
10 #define SQUID_SRC_ADAPTATION_ICAP_CONFIG_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() override;
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_SRC_ADAPTATION_ICAP_CONFIG_H */
60 
Config TheConfig
Definition: Config.cc:19
char * client_username_header
Definition: Config.h:36
time_t connect_timeout(bool bypassable) const
Definition: Config.cc:41
int repeat_limit
icap_retry_limit in squid.conf
Definition: Config.h:39
Config & operator=(const Config &)
~Config() override
Definition: Config.cc:30
acl_access * repeat
icap_retry ACL in squid.conf
Definition: Config.h:38
Adaptation::ServicePointer createService(const ServiceConfigPointer &cfg) override
Definition: Config.cc:36
time_t io_timeout(bool bypassable) const
Definition: Config.cc:49
time_t connect_timeout_raw
Definition: Config.h:33

 

Introduction

Documentation

Support

Miscellaneous