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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors