]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/adaptation/ecap/Config.cc
2 * DEBUG: section 93 eCAP Interface
5 #include "adaptation/ecap/Config.h"
6 #include "adaptation/ecap/Host.h"
7 #include "adaptation/ecap/ServiceRep.h"
9 Adaptation::Ecap::Config
Adaptation::Ecap::TheConfig
;
11 Adaptation::Ecap::Config::Config()
15 Adaptation::Ecap::Config::~Config()
20 Adaptation::Ecap::Config::finalize()
22 if (!Adaptation::Config::finalize())
25 CheckUnusedAdapterServices(AllServices());
29 Adaptation::ServiceConfig
*
30 Adaptation::Ecap::Config::newServiceConfig() const
32 return new ServiceConfig();
35 Adaptation::ServicePointer
36 Adaptation::Ecap::Config::createService(const ServiceConfigPointer
&cfg
)
38 return new Adaptation::Ecap::ServiceRep(cfg
);
44 Adaptation::Ecap::ServiceConfig::grokExtension(const char *name
, const char *value
)
46 extensions
.push_back(std::make_pair(name
, value
));