Config.cc
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/* DEBUG: section 93 eCAP Interface */
10
11#include "squid.h"
15
17
19{
20}
21
23{
24}
25
26bool
28{
30 return false;
33 return true;
34}
35
38{
39 return new ServiceConfig();
40}
41
44{
45 return new Adaptation::Ecap::ServiceRep(cfg);
46}
47
48/* ServiceConfig */
49
50bool
51Adaptation::Ecap::ServiceConfig::grokExtension(const char *name, const char *value)
52{
53 extensions.push_back(std::make_pair(name, value));
54 return true;
55}
56
virtual bool finalize()
Definition: Config.cc:184
General eCAP configuration.
Definition: Config.h:39
bool finalize() override
Definition: Config.cc:27
Adaptation::ServicePointer createService(const ServiceConfigPointer &cfg) override
Definition: Config.cc:43
~Config() override
Definition: Config.cc:22
Adaptation::ServiceConfig * newServiceConfig() const override
creates service configuration object that will parse and keep cfg info
Definition: Config.cc:37
static void Register()
register adaptation host
Definition: Host.cc:174
eCAP service configuration
Definition: Config.h:26
bool grokExtension(const char *name, const char *value) override
handle name=value configuration option with name unknown to Squid
Definition: Config.cc:51
Config TheConfig
Definition: Config.cc:16
void CheckUnusedAdapterServices(const Services &services)
check for loaded eCAP services without matching ecap_service in squid.conf
Definition: ServiceRep.cc:335
Services & AllServices()
Definition: Service.cc:61

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors