]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/adaptation/ecap/Host.h
6 #ifndef SQUID_ECAP_HOST_H
7 #define SQUID_ECAP_HOST_H
9 #include <libecap/host/host.h>
14 // Squid wrapper, providing host application functionality to eCAP services.
15 class Host
: public libecap::host::Host
21 virtual std::string
uri() const; // unique across all vendors
22 virtual void describe(std::ostream
&os
) const; // free-format info
25 virtual void noteService(const libecap::weak_ptr
<libecap::adapter::Service
> &s
);
28 virtual std::ostream
*openDebug(libecap::LogVerbosity lv
);
29 virtual void closeDebug(std::ostream
*debug
);
32 extern const libecap::Name protocolInternal
;
33 extern const libecap::Name protocolCacheObj
;
34 extern const libecap::Name protocolIcp
;
36 extern const libecap::Name protocolHtcp
;
41 #endif /* SQUID_ECAP_HOST_H */