Config.cc
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 /* DEBUG: section 93 eCAP Interface */
10 
11 #include "squid.h"
12 #include "adaptation/ecap/Config.h"
13 #include "adaptation/ecap/Host.h"
15 
17 
19 {
20 }
21 
23 {
24 }
25 
26 bool
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 
50 bool
51 Adaptation::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 grokExtension(const char *name, const char *value)
handle name=value configuration option with name unknown to Squid
Definition: Config.cc:51
virtual bool finalize()
Definition: Config.cc:182
void CheckUnusedAdapterServices(const Services &services)
check for loaded eCAP services without matching ecap_service in squid.conf
Definition: ServiceRep.cc:335
General eCAP configuration.
Definition: Config.h:38
virtual Adaptation::ServicePointer createService(const ServiceConfigPointer &cfg)
Definition: Config.cc:43
eCAP service configuration
Definition: Config.h:25
Services & AllServices()
Definition: Service.cc:61
Config TheConfig
Definition: Config.cc:16
virtual Adaptation::ServiceConfig * newServiceConfig() const
creates service configuration object that will parse and keep cfg info
Definition: Config.cc:37
virtual bool finalize()
Definition: Config.cc:27
static void Register()
register adaptation host
Definition: Host.cc:177

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors