#include "squid.h"
#include <libecap/adapter/service.h>
#include <libecap/common/names.h>
#include <libecap/common/registry.h>
#include "adaptation/ecap/Host.h"
#include "adaptation/ecap/MessageRep.h"
#include "adaptation/ecap/ServiceRep.h"
#include "base/TextException.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "MasterXaction.h"
Go to the source code of this file.
Functions | |
static SBuf | EssentialVersion (const SBuf &raw) |
Strips libecap version components not affecting compatibility decisions. More... | |
static bool | SupportedVersion (const char *vTheir, const char *them) |
static int | SquidLogLevel (libecap::LogVerbosity lv) |
Variables | |
static libecap::shared_ptr< Adaptation::Ecap::Host > | TheHost |
the host application (i.e., Squid) wrapper registered with libecap More... | |
Function Documentation
◆ EssentialVersion()
Definition at line 79 of file Host.cc.
References SBuf::find(), SBuf::npos, and SBuf::substr().
Referenced by SupportedVersion().
◆ SquidLogLevel()
|
static |
Definition at line 129 of file Host.cc.
References DBG_CRITICAL, DBG_DATA, and DBG_IMPORTANT.
Referenced by Adaptation::Ecap::Host::openDebug().
◆ SupportedVersion()
|
static |
If "their" libecap version is not compatible with what Squid has been built with, then complain and return false.
Definition at line 92 of file Host.cc.
References DBG_CRITICAL, debugs, and EssentialVersion().
Referenced by Adaptation::Ecap::Host::noteVersionedService(), and Adaptation::Ecap::Host::Register().
Variable Documentation
◆ TheHost
|
static |
Definition at line 34 of file Host.cc.
Referenced by Adaptation::Ecap::Host::Register().