]> git.ipfire.org Git - thirdparty/squid.git/blame - src/eCAP/Host.h
Added initial support for eCAP library (libecap), including required wrappers
[thirdparty/squid.git] / src / eCAP / Host.h
CommitLineData
fdc96a39
AR
1
2/*
3 * $Id$
4 */
5
6#ifndef SQUID_ECAP_HOST_H
7#define SQUID_ECAP_HOST_H
8
9#include <libecap/host/host.h>
10
11namespace Ecap {
12
13// Squid wrapper, providing host application functionality to eCAP services.
14class Host : public libecap::host::Host
15{
16public:
17 // About
18 virtual std::string uri() const; // unique across all vendors
19 virtual void describe(std::ostream &os) const; // free-format info
20
21 // Service management
22 virtual void noteService(const libecap::weak_ptr<libecap::adapter::Service> &s);
23
24 // Logging
25 virtual std::ostream *openDebug(libecap::LogVerbosity lv);
26 virtual void closeDebug(std::ostream *debug);
27};
28
29} // namespace Ecap
30
31#endif /* SQUID_ECAP_HOST_H */