11#ifndef SQUID_SRC_ADAPTATION_ECAP_SERVICEREP_H
12#define SQUID_SRC_ADAPTATION_ECAP_SERVICEREP_H
17#if HAVE_LIBECAP_COMMON_FORWARD_H
18#include <libecap/common/forward.h>
20#if HAVE_LIBECAP_COMMON_MEMORY_H
21#include <libecap/common/memory.h>
43 bool probed()
const override;
44 bool up()
const override;
48 virtual const char *
status()
const;
void error(char *format,...)
bool probed() const override
void tryConfigureAndStart()
attempts to configure and start eCAP service; the caller handles exceptions
bool wantsUrl(const SBuf &urlPath) const override
Adaptation::Initiate * makeXactLauncher(Http::Message *virginHeader, HttpRequest *virginCause, AccessLogEntry::Pointer &alp) override
bool handleFinalizeFailure(const char *error)
virtual const char * status() const
void noteFailure() override
AdapterService theService
bool detached() const override
whether detached() was called
libecap::shared_ptr< libecap::adapter::Service > AdapterService
common parts of HttpRequest and HttpReply
void RegisterAdapterService(const ServiceRep::AdapterService &adapterService)
register loaded eCAP module service
void CheckUnusedAdapterServices(const Services &services)
check for loaded eCAP services without matching ecap_service in squid.conf
ServiceRep::AdapterService FindAdapterService(const String &serviceUri)
returns loaded eCAP module service by service uri
void UnregisterAdapterService(const String &serviceUri)
unregister loaded eCAP module service by service uri
std::vector< Adaptation::ServicePointer > Services