]> git.ipfire.org Git - thirdparty/squid.git/commit - src/cf.data.pre
Added generic support for loadable Squid modules or plugins.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 31 Mar 2008 04:31:48 +0000 (22:31 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 31 Mar 2008 04:31:48 +0000 (22:31 -0600)
commit57afc994403bf0f36920ce0fc5d4aa8bb41a9be8
tree47d3c93fadaab3fb611e53cff385bc116ce173a6
parent63b671d2b602a6c7ee6e236759d63bf16886f46a
Added generic support for loadable Squid modules or plugins.

The "loadable_modules" squid.conf option specifies what shared libraries to
load dynamically. The support is based on libtool's ltdl library, which has
been integrated with Squid prior to this commit, along with the
--enable-loadable-modules ./configure option.

Loaded modules are currently never unloaded, but that may change.

Loadable modules are needed for eCAP, but loadable_modules code deals with
generic module manipulation, independent from eCAP support.

TODO: support cachemgr reporting and reconfiguration.
src/LoadableModule.cc [new file with mode: 0644]
src/LoadableModule.h [new file with mode: 0644]
src/LoadableModules.cc [new file with mode: 0644]
src/LoadableModules.h [new file with mode: 0644]
src/Makefile.am
src/cf.data.pre
src/main.cc
src/structs.h