]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/ecap/ServiceRep.cc
Support libecap v1.0, allowing asynchronous adapters and eCAP version checks.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 29 Nov 2013 19:47:54 +0000 (12:47 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 29 Nov 2013 19:47:54 +0000 (12:47 -0700)
commit0a720258ebe0806d0ee7953ab35df886f867a899
treef4d748c049706e47d040310b0c56322e65d3ab40
parente192737587acbaf2f155eabce14f7a3b711e972a
Support libecap v1.0, allowing asynchronous adapters and eCAP version checks.

After these changes, Squid can support eCAP adapters built with libecap v1.0,
but stops supporting adapters built with earlier libecap versions (due to API
changes). The new libecap version allows Squid to better check the version of
the eCAP adapter being loaded as well as the version of the eCAP library being
used. This should help with migration to libecap v1.0.

Expose [running] main event loop as a global so that modules can add engines.
configure.ac
src/EventLoop.cc
src/EventLoop.h
src/Makefile.am
src/adaptation/ecap/Host.cc
src/adaptation/ecap/Host.h
src/adaptation/ecap/ServiceRep.cc
src/adaptation/ecap/XactionRep.cc
src/adaptation/ecap/XactionRep.h
src/main.cc
src/tests/stub_EventLoop.cc [new file with mode: 0644]